Spring Introduction (i)

Source: Internet
Author: User

Spring is a lightweight control inversion (IOC) and aspect-oriented (AOP) container framework that was created primarily to address the complexities of enterprise application development.
Objective: To solve the complexity of enterprise application development.
Function: Use basic JavaBean instead of EJB.
Scope: any Java application.

The origins of Spring

Spring exists because he has a number of unique advantages:
1. Its positioning area is not in the other framework.
The 2.Spring is comprehensive and modular.
3. It is designed to help write easy-to-test code from the bottom
4.Spring is a potential one-stop solution.

The advantages of Spring

Guan
1. Ground-penetrating design, low code pollution.
2. Realized the idea of write Once,run anywhere.
3. The coupling degree is reduced effectively.
4.AOP provides centralized processing of common tasks.
5.PRM and DAO simplify access to the database.
6. High degree of openness, not mandatory.
Benefits of:
1. An object that can effectively organize the middle tier.
2. Use a unified configuration file.
3. Develop good programming habits and reduce the cost of programming.
4. Easy to test the unit. ‘
5. Make EJB an alternative.
6. Provides a consistent framework for data storage.

Features of Spring

1. Easy to decouple and simplify development.
Hungry support for 2.AOP programming.
3. Support for declarative transactions.
4. Facilitate the testing of the program.
5. Easy access to various open source frameworks.
6. Reduce the difficulty of using the Java API.
7.Spring source code is a classic learning paradigm.

Spring's core module

Summary of Spring

Spring brings the development of the Java EE.
Its core is the lightweight IOC container, whose goal is to provide a comprehensive solution for the Java EE, which implements a combination of multiple sub-frameworks within the spring framework that can be independent of each other and can be replaced with other framework schemes.
Spring wants to provide a one-stop solution for enterprise applications.

Spring Introduction (i)

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.