Introduction to Spring Expression Language(SPEL)

I think we have enough features up to now in spring, but spring is not settling down it is updating day-by-day with packs of advanced features to let its users feel spring is simple. Now we gonna see one of those feature SPEL(spring expression language). Lets have an working example of spring project using SPEL. Robot.java has two java beans(setters) which we will need to set those values from beans.xml by using SPEL. Robot.java This will return a random text when we call the getText() method. RobotText.java To enable expression language #{write expressions here} is used. Expressions //are many types

Read more