This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Simplifying Spring XML
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
The Spring guys have allows us to clean up the Spring XML files quite a bit recently. First, they added the notion of building a "template" which you can inherit from which is cool.
Now, a more simple change is in the works.
Take a look at a normal bean setup:
<property name="user"><value>admin</value></property>
<property name="linkFormatter"><ref bean="linkFormatter"/></property>
There is talk of changing to something such as:
<property name="user" value="admin"/>
<property name="linkFormatter" ref-bean="linkFormatter"/>
A big +1 from me. Small things like this make a difference.
I also think that the Spring XML config can learn from that of Hivemind.