Spring understands the initial

xiaoxiao2021-03-06  22

Beginning Spring is because the department should build a J2EE system framework, which requires a reduction in the size between the layers, and the developer is developed according to the role, making the display layer and the business logic layer separation, and the system requires strong configurability. Start, we have developed a framework, the web layer consists of the MVC structure by servlet JSP Command mode, and the data access layer uses Hibernate, the intermediate business logic layer abstract some businessdeGate interface. Later, it gradually found that the abstraction of the business logic layer is not very reasonable. Various services are fully implemented through the business agent, and a similar request is made, similar to the servlet;, for different types of pages, such as more Steps page submit to prevent repeated submitted pages, etc., you need to make a corresponding package, which is not enough for the framework developed by our own. Start thinking with Struts, but don't like it to correspond to the surface field and the FORMBEAN field, think it is dead if you have a little adjustment, modify the Formbean. The last no. Later, I found Spring. I have read more than 1 week, I learned some concept IOC, I feel that it is a frame, it is better to say that it is a container, a JavaBean management container! His AOP, Web components, etc. are based on his IOC implementation! It's just a general understanding of Spring. It is currently familiar with its web framework, understanding its Web layer MVC implementation, I gradually write a little Spring's experience!

转载请注明原文地址:https://www.9cbs.com/read-66106.html

New Post(0)