Spring Framework Jar Pack Classification (GO)

Source: Internet
Author: User
Tags aop

Transferred from: http://www.cnblogs.com/JSONBEAN/p/6364038.html

Long been writing the SSM framework project, but did not understand the framework of the building principle, but only shallow understanding of the structure of the predecessor, and then constantly apply, the project has done several, but the connotation of the framework is not sure. The small part intends today from the SPRINGMVC analysis to start, the step by step carries on the systematic study.

Start with Springframework's official documentation:
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#overview-getting-started-with-spring

As shown on the components of the spring framework, the diagram is composed.

Core Container,

Constituted by Spring-core, Spring-beans, Spring-context, Spring-context-support, and Spring-expression.

1.spring-core, Spring-beans provides control inversion and dependency injection capabilities,

2.spring-context similar to the Jndi registry, provides resource-bound loading, event broadcast, and Java EE features such as EJB, JMX, and basic remoting

3.spring-context-support provides third-party libraries for integration into spring applications such as cache caching (EhCache, guava, jcache), mail Mailing (JavaMail), Scheduled Tasks scheduling

(Commonj, Quartz) and Templates engine template engines (Freemarker, JasperReports, Velocity)

4.spring-expression-like El Language, is an extension of El

Second, AOP and instrumentation parts,

Constituted by Spring-aop,spring-aspects,spring-instrument,spring-instrument-tomcat.

1.SPRING-AOP allows developers to define method interceptors and pointcuts

The 2.spring-aspects is used for ASPECTJ programming-oriented integration,

3.spring-instrument is used to integrate specific containers,

4.SPRING-INSTRUMENT-TOMCAT provides Tomcat integration

Third, the messaging part,

Constituted by Spring-messaging.

Spring-messaging integrates with some message-based applications to provide some message-related annotations

Iv. the Data access/integration part,

Constituted by SPRING-JDBC,SPRING-TX,SPRING-ORM,SPRING-OXM,SPRING-JMS.

1.spring-jdbc keeps you from writing database connection code

2.SPRING-TX provides transaction management,

3.Spring-orm allows developers to use the O/R Object Relational mapping framework, and the above mentioned transaction management,

4.SPRING-OXM allows you to abstract spring-orm into an XML map, which describes the mappings in an XML file.

5.spring-jmsjava messaging service, generate and consume messages, integrate with spring-messaging

Five, the web layer,

Composed by Spring-web, Spring-webmvc, Spring-websocket, Spring-webmvc-portlet.

1.spring-web includes HTTP client, multi-file upload, IOC container initialization with listener, application context and other functions

2.SPRING-WEBMVC provides MVC and Rest Web service implementations

3.spring-webmvc-portlet allow SPRING-WEBMVC for portlet component environments (plug-in management)

Through the above analysis of the spring framework of the various modules, we can according to their own project needs to carry out the corresponding JAR package import

Spring Framework Jar Pack Classification (GO)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.