Defining Bean Properties by Shortcut
Spring supports a shortcut for specifying the value of a simple type property. You can present a value attribute in the <property> element instead of enclosing a <value> element inside.
Since Spring 2.0 another convenient shortcut to define properties was added. It consists of using the p schema to define bean properties as attributes of the <bean> element. This can shorten the lines of XML configuration.
Categories: Books
Comments (0)
Trackbacks (0)
Leave a comment
Trackback