Spring Learning (i) Spring overview

Source: Internet
Author: User
Tags aop connection pooling

Now that the spring framework is basically used in many enterprise-level projects, why is there a spring,spring? This blog post I mainly give you a brief introduction to spring.

Java EE pros and cons

We all know that in the spring of 2003, companies generally use Java-EE technology to develop enterprise-class applications, why use the Java EE? There are several main reasons for this:

1, the Java itself cross-platform ability, portability is strong

2, Java EE Server built a large number of container services, such as transaction services, Jndi services and connection pooling services, etc.

3, programmers can be based on the Java EE API for enterprise development and deployment to the application

Although Java EE has the above advantages, but the use of Java EE Development has a fatal flaw, that is, the development of difficulties, and Java development is very easy to problem, such as database connection leakage. The advent of spring solves these problems, and as to how to solve them, we will explain them in more detail in the following articles.

What is Spring?

What is Spring? Spring is a lightweight control inversion (IoC) and aspect-oriented (AOP) container framework that is created to address the complexities of enterprise application development. Spring enables developers to write code that is cleaner, more manageable, and easier to test. about how spring specifically to achieve, this wait until our future tutorial, I will give you a detailed analysis.

Spring Benefits

After a simple understanding of spring, let's take a look at the benefits of spring.

1, convenient decoupling, simplifying development.

2, the support of AOP programming.

3. Support for declarative transactions.

4. Facilitate the testing of the program.

5, facilitate the integration of a variety of excellent frameworks.

6, reduce the use of Java EE API difficulty.

So far, I'm sure you're confused, it doesn't matter, we just need to have a simple understanding of spring for the time being. For more in-depth spring content, I will explain in detail in the following blog, please look forward to it!

Source: http://www.cnblogs.com/zs234/

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.