Skip to main content

Posts

Showing posts with the label COMPONENT

Spring : Terminology and Components of Spring IOC

Terminology and Components of Spring IOC 1. Bean- An object which is created and managed by IOC Container is a Bean. 2. BeanFactory- is an interface which describe the functionality of a basic IOC Container. Any class which implements this interface represents as an IOC Container. 3. XMLBeanFactory- is a framework provided class which implements BeanFactory Interface; an Object of XMLBeanFactory requires Bean Configuration File i.e. A XML Document. 4. Resource- is an interface it provides methods of managing the beans Configuration. Different implementations of this interface are provided by the framework. a. ClassPathResource- It is used when the configuration file/required file is in class path (A default path for placing the classes that is “build” in case of desktop/console application and WEB-INF in case of Web Application). This is mostly used in Web Application because developer doesn’t know the exact path when the application is deployed on server. Its default searching approac...