- Spring 5 Design Patterns
- Dinesh Rajput
- 118字
- 2021-07-08 09:59:27
Bean factory
In the Spring Framework, the org.springframework.beans.factory.BeanFactory interface provides the bean factory, which is a Spring IoC container. XmlBeanFactory is an implementation class for this interface. This container reads the configuration metadata from an XML file. It is based on the GOF factory method design pattern--it creates, manages, caches, and wires the application objects in a sophisticated manner. The bean factory is merely an object pool where objects are created and managed by configuration. For small applications, this is sufficient, but enterprise applications demand more, so spring provides another version of the spring container with more features.
In the next section, we will learn about the application context and how Spring creates it in the application.
- 企業級Java EE架構設計精深實踐
- Boost C++ Application Development Cookbook(Second Edition)
- Learning Selenium Testing Tools with Python
- 垃圾回收的算法與實現
- Python自動化運維快速入門
- Visual FoxPro 程序設計
- Java高手真經(高級編程卷):Java Web高級開發技術
- Hands-On Data Structures and Algorithms with JavaScript
- Web Development with Django Cookbook
- Android Application Development Cookbook(Second Edition)
- 小程序,巧運營:微信小程序運營招式大全
- 軟件測試實用教程
- C++寶典
- PHP+Ajax+jQuery網站開發項目式教程
- OpenMP核心技術指南