Quantcast
Channel: Java Tutorials » Bean
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Is it mandatory to have the “id” property in Bean/ApplicationContext Xml

Typical Bean xml file looks like below: <?xml version=”1.0″ encoding=”UTF-8″?> <beans xmlns=”http://www.springframework.org/schema/beans&#8221;...

View Article



Image may be NSFW.
Clik here to view.

How to Inject Null or Blank values to a Spring Bean

To inject an NULL value which is equivalent to bean.setMessage(null): <bean id=”beanId” class=”bean”> <property name=”message”><null/></property> </bean> To inject an...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images