1.Spring Framework Introductory Chapter

Source: Internet
Author: User
Tags aop java web

0x00 Why learn Spring

As you continue to engage and understand Java EE, you will find spring MVC playing an increasingly important role in every enterprise and project. Mastering Spring MVC has become one of the must-learn capabilities of our IT industry.

The Spring framework is an open-source Java/java EE full-featured Stack (full-stack) application framework, published as an Apache license, as well. The migration version on the net platform. The framework is based on the code in the Expert one-on-one Java EE Design and development (ISBN 0-7645-4385-7) book, originally developed by Rod Johnson and Juergen Hoeller. The Spring Framework provides a simple development approach that avoids the large number of property files and helper classes that can cause the underlying code to become cluttered.

0x01 Spring Website Introduction

Spring Official website: https://spring.io/

Spring Document: Https://spring.io/guides

Spring ide:https://spring.io/tools/sts

Spring project:https://spring.io/projects

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

From configuration to security, Web applications to big data-whatever your application's infrastructure needs may be, there is a spring project to help you build it. Start small and use the-spring you need is a modular design.

There are a lot of spring Project, and the spring Framework is what we're going to focus on learning and mastering.

0x02 Spring Framework

Introduction to the Spring framework

The Spring framework core supports dependency injection, transaction management, Web applications, data access, messaging, testing and more.

The Spring Framework provides a comprehensive planning and configuration model for modern Java-based enterprise applications on any deployment platform. A key element of spring is the infrastructure support for the application tier: Spring focuses on the "plumbing" of enterprise applications, so that teams can focus on application-level business logic without unnecessarily contacting specific deployment environments.

Spring Framework feature features

Dependency Injection aspect-oriented programming includes spring's declarative transaction management Spring MVC Web application and Rest Web Services Framework basic support JPA,JDBC,JMS more ...

Minimum Requirements

    • JDK 6+ for Spring Framework 4.x
    • JDK 5+ for Spring Framework 3.x

Core JAR Package Dependencies:

If you are not writing a Java Web application, you will not need the Spring-web module.

GroupId

Artifactid

Description

Org.springframework

Spring-aop

proxy-based AOP Support

Org.springframework

Spring-aspects

AspectJ based aspects

Org.springframework

Spring-beans

Beans support, including Groovy

Org.springframework

Spring-context

Application context runtime, including scheduling and remoting abstractions

Org.springframework

Spring-context-support

Support classes-integrating common third-party libraries into a Spring application context

Org.springframework

Spring-core

Core utilities, used by many and other Spring modules

Org.springframework

Spring-expression

Spring Expression Language (spel)

Org.springframework

Spring-instrument

Instrumentation agent for JVM bootstrapping

Org.springframework

Spring-instrument-tomcat

Instrumentation agent for Tomcat

Org.springframework

Spring-jdbc

JDBC Support package, including DataSource setup and JDBC Access support

Org.springframework

Spring-jms

JMS support package, including helper classes to send/receive JMS messages

Org.springframework

Spring-messaging

Support for messaging architectures and protocols

Org.springframework

Spring-orm

Object/relational Mapping, including JPA and Hibernate support

Org.springframework

Spring-oxm

Object/xml Mapping

Org.springframework

Spring-test

Support for unit testing and integration testing Spring components

Org.springframework

Spring-tx

Transaction infrastructure, including DAO support and JCA integration

Org.springframework

Spring-web

Foundational web support, including Web client and web-based remoting

Org.springframework

Spring-webmvc

http-based Model-view-controller and REST endpoints for Servlet stacks

Org.springframework

Spring-webmvc-portlet

MVC implementation to being used in a Portlet environment

Org.springframework

Spring-websocket

WebSocket and SOCKJS infrastructure, including STOMP messaging support

1.Spring Framework Introductory Chapter

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.