SPRINGMVC is just one part of spring.
Spring can support Hibernate, Ibatis, JMS,JDBC
Support transaction management, annotation function, expression language, test
SPRINGMVC is a simple web framework that can be used in place of the SSH framework.
Springmvc Better performance than struts2
Spring is an open source framework that is designed to address enterprise application development, with the following features
Objective: To solve the complexity of enterprise application development
Function: Use basic JavaBean instead of EJB, and provide more enterprise application function
Scope: Any Java application
In short, spring is a lightweight control inversion (IoC) and aspect-oriented (AOP) container framework.
Lightweight-Spring is lightweight, both in terms of size and overhead. The full spring framework can be published in a jar file with a size of more than 1MB. and the processing overhead required by spring is negligible. In addition, spring is non-intrusive: Typically, objects in spring applications do not depend on a particular class of spring.
Control reversal--spring facilitates loose coupling through a technique called inversion of Control (IoC). When an IOC is applied, other objects that an object relies on are passed in passively, rather than the object itself creating or locating dependent objects. You can think of the IOC as opposed to Jndi--not the object looking for dependencies from the container, but the container actively passing the dependency to it when the object is initialized without waiting for the object to be requested.
Facet-oriented--spring provides rich support for aspect-oriented programming, allowing for the development of cohesion through the separation of application business logic with system-level services such as auditing (auditing) and transaction (transaction) management. The Application object only implements what they should do-complete the business logic-that's all. They are not responsible (or even conscious) for other system-level concerns, such as log or transaction support.
The container--spring contains and manages the configuration and lifecycle of the Application object, in this sense it is a container, and you can configure how each of your beans is created-based on a configurable prototype (prototype), Your bean can create a separate instance or generate a new instance each time it is needed-and how they relate to each other. However, spring should not be confused with the traditional heavyweight
EJB containers, they are often bulky and unwieldy and difficult to use.
Framework--spring can be used to configure and assemble simple components into complex applications. In spring, application objects are combined declaratively, typically in an XML file. Spring also provides a number of basic functions (transaction management, persistence framework integration, etc.), leaving the development of application logic to you.
All of these features of spring enable you to write cleaner, more manageable, and easier-to-test code. They also provide basic support for the various modules in spring.
Spring's two core AOP and IOC can be used for any application, including the integration of an ORM framework such as the MVC framework such as Struts and Hibernate, and many companies are now so-called lightweight development using Spring + Struts (2) +hibernate.
Spring MVC is an MVC framework that personally feels that spring MVC annotation is easier to develop than Struts2, and can be used as a direct substitute for struts above (of course, struts is a very mature MVC, Functionally, it's still a bit stronger than spring, but spring MVC is good enough. Of course, Spring MVC performs more efficiently than struts because struts ' value stacks affect efficiency.
Spring MVC is similar to the one of struts's MVC open frame, which in fact belongs to spring,spring MVC needs to be supported by spring's scaffolding to run.
If someone asks you something. Control reversal (Spring's core interview often asks): You answer, originally the program is from our new out of, then to control the new come out, this is the inversion
The difference between SPRINGMVC and spring