The org.springframework.beans and org.springframework.context packages provide the basis for the Spring Framework’s IoC container. The ApplicationContext interface is superset of BeanFactory implementations like and adds other functionality such as easier integration with Spring’s AOP features, event propagation, and application-layer specific contexts such as the WebApplicationContext for use in web applications. So ApplicationContext is more preferred [...]
Archive for the ‘Java’ Category
Java tutorial/code – How to choose between BeanFactory and ApplicationContext Interface in IOC container
май 20th, 2010
admin Java tutorial/code – How to define a bean which is created using a static factory method
май 20th, 2010
admin Following piece of code creates a bean with static method makeInstance of sampleBean2 class.
RSS Feed
Twitter

Posted in

