- 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.
- 造個小程序:與微信一起干件正經事兒
- Interactive Data Visualization with Python
- Raspberry Pi for Secret Agents(Third Edition)
- Learning ArcGIS Pro
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- ArcGIS By Example
- 微信小程序項目開發實戰
- .NET 3.5編程
- Java Web開發詳解
- Python爬蟲、數據分析與可視化:工具詳解與案例實戰
- 快樂編程:青少年思維訓練
- 用Python動手學統計學
- Building Clouds with Windows Azure Pack
- Learning TypeScript
- Android熱門應用開發詳解