JMX (Java Management Extensions) Question:

Download Job Interview Questions and Answers PDF

How does a Spring Factory Bean work?

JMX Interview Question
JMX Interview Question

Answer:

It is created by Spring automatically, any setters are called on the factory then its getObject() method is called to allocate the actual bean.

Download JMX Interview Questions And Answers PDF

Previous QuestionNext Question
What is the advantage of constructor dependency injection?What are the 5 scopes defined in Spring?