- 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高并發核心編程(卷2):多線程、鎖、JMM、JUC、高并發設計模式
- 算法精粹:經典計算機科學問題的Java實現
- Network Automation Cookbook
- Wireshark Network Security
- 精通Scrapy網絡爬蟲
- 秒懂設計模式
- 信息技術應用基礎
- Mastering JBoss Enterprise Application Platform 7
- HTML5 APP開發從入門到精通(微課精編版)
- 常用工具軟件立體化教程(微課版)
- Vue.js應用測試
- Scratch從入門到精通
- Apache Solr for Indexing Data
- 每個人的Python:數學、算法和游戲編程訓練營
- PhoneGap 3.x Mobile Application Development Hotshot