Bean life cycle in a Spring Bean Factory Container
Elaborate typical Bean life cycle in a Spring Bean Factory Container?
Expert
Bean life cycle in a Spring Bean Factory Container is: - The spring container discovers a bean’s definition from an XML file and instantiates the bean. - Using a dependency injection, spring fills all of properties as stated in a bean definition - If a bean implements BeanNameAware interface, then factory calls setBeanName() passing bean’s ID. - If a bean implements BeanFactoryAware interface, the factory calls setBeanFactory(), passing an instance of itself. - If there are BeanPostProcessors related with a bean, their post- ProcessBeforeInitialization() methods will be called. - If an init-method is stated for a bean then it will be called. - At last, if there are any BeanPostProcessors linked with a bean then their postProcessAfterInitialization() methods will be called.
Is JVM platform independent?
Describe the Application context module?
All Specifications to be done according to paper
Differentiate between Java Mail and JMS Queue ?
Elaborate the term JMS API?
Explain the term platform independence?
Elaborate synchronized methods and synchronized statements?
How threads invokes a run() method?
Illustrate JMS session?Briefly.
Explain Applet life cycle with suitable example.
18,76,764
1923772 Asked
3,689
Active Tutors
1428976
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!