INTERVIEW QUESTIONS
J2EE
SPRINGS
DETAILS
Question: Explain about the two models of the object which Bean Factory supports?
Answer: Two models of object which bean factory supports are: - 1) Single ton and prototype. Singleton has one instance (shared) with an object and it is assigned a specific name which can be retrieved on lookup. Prototype results in creation of an independent object.
|