Loading
Spring BeanFactory

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  What is Spring BeanFactory ?


Ans)

The BeanFactory is the actual container which instantiates, configures, and manages a number
of beans
. These beans typically collaborate with one another, and thus have dependencies
between themselves.

You can get the Bean Factory as follows .
ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(
        new String[] {"applicationContext.xml"});

BeanFactory factory = (BeanFactory) appContext;



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

Spring BeanFactory


Spring BeanFactory

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free