Thomas Darimont
Erfahrenes Mitglied
Hallo!
Für Spring 2.0 gibts eine neue (handliche) Sytax für die Konfiguration von Bean-Properties:
als Ersatz für:
Die Spring IDE in der Version 2.0 bietet auch Unterstützung für diese Art der Propertykonfiguration
Siehe auch:
http://blog.interface21.com/main/2006/11/25/xml-syntax-sugar-in-spring-20/
Gruß Tom
Für Spring 2.0 gibts eine neue (handliche) Sytax für die Konfiguration von Bean-Properties:
XML:
<bean id="bubu" class="de.tutorials.training.spring.Bubu" p:name="Tom" p:age="23"/>
als Ersatz für:
XML:
<bean id="bubu" class="de.tutorials.training.spring.Bubu">
<property name="name">Tom</property>
<property name="age">23</property>
</bean>
Die Spring IDE in der Version 2.0 bietet auch Unterstützung für diese Art der Propertykonfiguration

Siehe auch:
http://blog.interface21.com/main/2006/11/25/xml-syntax-sugar-in-spring-20/
Gruß Tom
Zuletzt bearbeitet von einem Moderator: