bean properties code example
Example 1: bean definition in spring
<?xml version = "1.0" encoding = "UTF-8"?>
<beans xmlns = "http://www.springframework.org/schema/beans"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
<bean id = "..." class = "...">
</bean>
<bean id = "..." class = "..." lazy-init = "true">
</bean>
<bean id = "..." class = "..." init-method = "...">
</bean>
<bean id = "..." class = "..." destroy-method = "...">
</bean>
</beans>
Example 2: set bean properties
<c:set value="mobil" target="#{loginBean}" property="device" />