England 2 – Wales 0 Here’s to you, Christopher Reeve
Oct 10

Simplifying Spring XML

Tech Add comments

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.

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What is the number before 3? (just put in the digit)