Spring Framework

In our properties file we have the name value pairs
Reference these values from the properties file:
 
foo.email=test@test.com
foo.team=FC Köln

<bean id="myCricketCoach" class="com.company.CricketCoach">
    <property name="emailAddress" value="${foo.email}"/>
    <property name="team" value="${foo.team}"/>
</bean>

Diskussion