Struts:
Struts integrates Servlets, JSP, custom tags and message resources into a unified framework. When developers use it for development, they no longer need to code themselves to implement a full set of MVC patterns, which greatly saves time. It is a Based on the MVC pattern, it is the pattern-view-controller programming framework, which plays a role in assisting programming design and divides the Java program into JavaBean, servlet, JavaAction, and JSP.
Hibernate:
Hibernate can replace CMP in the J2EE architecture that uses EJB to complete the important task of data persistence.
Spring:
Spring provides an AOP framework written in standard Java language, and also provides a powerful and flexible MVC Web framework that can be integrated with IoC containers. Its IOC thinking and AOP thinking solve the problem of strong coupling between classes.
Struts is mainly responsible for the display of the presentation layer
Spring uses its IOC and AOP to handle control business (responsible for database operations)
hibernate mainly persists data to the database
Struts: Front-end Web MVC framework
hibernate: background database operation ORM framework, (meaning "hibernation" in English) is to connect Spring-Hibernate-database together, which simplifies data operations and is convenient and fast.
Spring: Provides IOC and AOP functions, as well as some enterprise-level applications, and better integrates hibernate and struts
Struts is a web development framework (responsible for form submission) (equivalent to a computer graphics card)
Hibernate is responsible for operating the database (equivalent to computer CPU)
Spring is equivalent to a motherboard (assembly of graphics card and CPU)
This article comes from the CSDN blog. Please indicate the source when reprinting: http://blog.csdn.net/ZhouTJ76237035/archive/2009/12/18/5030951.aspx
-