• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

SpEL

 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Craig,
can you please give an overview about the new SpEL language?
 
author
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
some slides about SpEL, by Craig Walls: http://www.slideshare.net/habuma/spel
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Arnaud Cogoluegnes wrote:some slides about SpEL, by Craig Walls: http://www.slideshare.net/habuma/spel



There are a lot to SpEL to discuss.

some briefs

1) You can use it just like you used context:property-placeholder
2) You can use it just like you used util:constant
3) Basically you can access properties values, actual instance variables values from beans like #{myBean.somePropertyOfMyBean}
4) You can use the Elvis Operator. COOL FACTOR
5) You can use SpEL to do some Security ACLs with @PreAuthorize and @PostAuthorize, like you must have ROLE_TELLER, but can only access Accounts with under $1000 in the account
6) There are a lot more to SpEL than just what I typed

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic