Overview Spring Framework

Source: Internet
Author: User
Tags aop documentation

Spring framework-origin and development

Spring is an open source application framework on the Java platform. The first version of it was written by Rod Johnson. Rod is the first to publish this framework in his expert one-on-one Java EE Design and Development (one one-on-one with experts in Java enterprise Application designing and development). The framework can also be ported to. NET environment.

The spring framework was first published in the June 2003 Apache 2.0 usage license. The first landmark version was 1.0 released in March 2004. In September 2004 and March 2005, there are important editions available.

The spring framework itself does not impose any special programming patterns. In the Java community, Spring is popular as an alternative or even a substitute for the EJB model. In design, Spring gives Java programmers many degrees of freedom, but also provides good documentation and easy to use methods for common problems in the industry.

The core functionality of the Spring Framework is applicable in any Java application. In Web applications based on the Java Enterprise platform, a great deal of expansion and improvement is formed. To this end, spring has been widely welcomed and recognized by many companies as a strategically important framework.

1, the history of the spring framework

The first part of the spring framework was written by Rod Johnson when he was providing an independent consulting business for the financial community in London in 2000. In the book "One-on-one with Java Enterprise application design and development", Rod expands his code to illustrate "How to get applications to collaborate with the different components on the Java platform that are more readily accepted by the public at the time."

In the 2001, the mainstream programming model for Web applications was the Java Servlet API and EJB. Both are made by Sun Micro Systems and other developers and interest groups, and have gained broad consensus in the Java industry. Non-web applications, such as client-side or batch applications, can also be based on open source or commercial tools and projects that provide the required functionality.

The spring framework, based on the best approach and applicable to a variety of application types, owes to Rod Johnson. These ideas are also elaborated in his book. After the publication of the book, based on the requirements of readers, the source code under the Open source Use agreement to provide.

A group of program developers who volunteered to expand the spring framework built a project on SourceForge in February 2003. After working on the spring framework for a year, the team released its first version in March 2004 (1.0). After this release, the spring framework became extremely popular in the Java community, partly due to its better documentation capabilities and references, especially for an Open-source project.

But the spring framework was also criticized in the 2004, and it has sometimes become a hotly debated subject. When the first version of Spring was released, many programmers and leading designers viewed it as a step away from traditional programming patterns, especially for EJBS. An important design goal of the spring framework is easier integration with existing Java EE standards and business tools. To a large extent, this goal makes it dispensable to define functionality through a regulatory document controlled by a disputed official committee.

The spring framework makes the previously unpopular technology quickly popular in a short period of time, the most famous example being reverse control (IOC). Spring Framework adoption was very high in 2004, and by introducing its own AOP (orientation-oriented programming), Spring makes AOP as a whole widely popular in the Java community.

In the 2005, Spring was added with more versatility due to the introduction of a landmark new version, resulting in a higher adoption rate than in 2004. The spring forum, created at the end of 2004, also contributed to the promotion of the framework. Forum for the vast number of users has become the most important source of information and help.

In the 2005, the Spring Framework developer set up its own company to provide business support for spring, most notably with Bea. The first spring meeting was held in Miami in December 2005, and the 3-day course attracted 300 developers. The conference in Antwerp in June 2006 had more than 400 developers.

2. The main functions of the spring framework

Based on Java Beans Configuration Management, the principle of IOC is adopted, especially for the use of injection-dependent technology. These are used to reduce the interdependencies between the various components of the implementation rules.

A core, globally applicable bean factory

A general abstraction level to manage data processing between databases

A general strategy built into the framework for the Java Data Processing APIs and individual JDBC data sources. Therefore, dependency on the Java Enterprise version environment is eliminated on data processing support

And some of the sustainability frameworks, such as Hibernate,jdo,ibatis and db4o, are integrated

The MVC framework in Web applications, based on the core spring functionality, supports a variety of techniques for generating views, including Jsp,freemarker,velocity,tiles,itext, and POI

A large number of AOP frameworks to provide services such as data processing management. As with the IOC function, the aim is to improve the system's module

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.