O'Reilly logo

Spring Recipes: A Problem-Solution Approach, Third Edition by Daniel Rubio, Gary Mak, Josh Long, Marten Deinum

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

<beans profile='spring'>    <bean id="aaa" class="com.apress.springrecipes.shop.Battery">        <property name="name" value="AAA" />        <property name="price" value="2.5" />    </bean>    <bean id="cdrw" class="com.apress.springrecipes.shop.Disc">        <property name="name" value="CD-RW" />        <property name="price" value="1.5" /></beans><beans profile='summer,winter'>    <bean id="aaa" class="com.apress.springrecipes.shop.Battery">        <property name="name" value="AAA" />        <property name="price" value="2.0" />    </bean>    <bean id="cdrw" class="com.apress.springrecipes.shop.Disc">        <property name="name" value="CD-RW" />        <property name="price" value="1.0" /></beans>

Notice how the <beans> tags are nested to delimit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required