SPRING CORE / NOTES</>↗Spring Core08 Mar 2014
In this example you will learn how to create a projection of a collection object. Using projection we can create a new collection with only a specific property from the original collection. As an example, instead of returning a collection of Book objects we would like only to have the titles of the books. To […]
SPRING CORE / NOTES</>↗Spring Core05 Mar 2014
In previous examples you have seen that we use the square-braces [] operator to select items from collection. In this post you will learn how to filter members of a collection with a certain criteria using the Spring EL. To do this Spring EL give you another special operator, the filter operator which can be […]
SPRING CORE / NOTES</>↗Spring Core02 Mar 2014
Previously you have seen that we can load properties file and read a value from it in this example: How do I read a value from properties file using Spring EL?. In this example you will learn how to read a special properties available to Spring EL. These properties include the systemEnvironment and systemProperties. The […]
SPRING CORE / NOTES</>↗Spring Core01 Mar 2014
In the previous two examples you have seen how to access member of a collection and access a map element using the square-braces [] operator in Spring EL. In this example you will see how to use the [] operator to read a value from a properties file or java.util.Properties. Let’s say we have a […]
SPRING CORE / NOTES</>↗Spring Core27 Feb 2014
In the previous example, How do I access collections members using Spring EL?, you have seen how to access a member of a collection using Spring EL square-braces [] operator. In this post you will learn how to use the same operator to access an element of a Map object. For demonstration, we will use […]
SPRING CORE / NOTES</>↗Spring Core26 Feb 2014
In this post you will see another powerful examples of Spring EL. We are going to demonstrate how to use Spring EL to access collection members. By using Spring EL you can select a single reference member of a collection. You can also select members of collection based on the values of their properties. Another […]