Spring / Spring interview questions
Difference between Java bean and spring bean.
JavaBeans are Java classes which adhere to certain coding conventions. Java bean classes will,
- have public default (no argument) constructors,
- have accessor (getter and setter) methods.
- implement java.io.Serializable.
Spring bean is basically an object managed by Spring. It is an object that is instantiated, configured and managed by a Spring Framework container. Spring beans are defined in Spring configuration files.
More Related questions...