- 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.
- Getting Started with Gulp(Second Edition)
- 騰訊iOS測試實(shí)踐
- Python入門很簡單
- Vue.js 2 and Bootstrap 4 Web Development
- Blender 3D Incredible Machines
- Effective Python Penetration Testing
- Building a Quadcopter with Arduino
- Learning Hunk
- Learning R for Geospatial Analysis
- PHP+Ajax+jQuery網(wǎng)站開發(fā)項(xiàng)目式教程
- Essential C++(中文版)
- Hands-On Neural Network Programming with C#
- Django 3.0應(yīng)用開發(fā)詳解
- JavaScript程序設(shè)計(jì):基礎(chǔ)·PHP·XML
- MySQL 8從零開始學(xué)(視頻教學(xué)版)