Introduction to Spring Framework

Source: Internet
Author: User

Introduction to Spring Framework

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.

Key features included in Spring:

    • Powerful JavaBeans-based configuration management with control rollover (inversion of CONTROL,IOC) principle makes application building faster and easier.

    • A core Bean factory that can be used for different operating environments, from applets to Java EE. The generalized abstraction layer of a

    • Database transaction allows the declarative (declarative) transaction manager to simplify the partitioning of the transaction so that it is not related to the underlying. The

    • Built-in generalization policy for JTA and a single JDBC data source makes Spring's transactional support do not require a Java EE environment, as opposed to a generic JTA or EJB CMT. The

    • JDBC Abstraction Layer provides a targeted exception level (no longer extracts the original code from the SQL exception), simplifies error handling, and greatly reduces the programmer's coding. When you reuse JDBC again, you don't have to write another ' terminate ' (finally) module. and a JDBC-oriented exception is consistent with the spring universal data Access object exception level.

    • Integrates with Hibernate,jdo and IBATIS SQL Maps in the form of resource containers, DAO implementations, and transaction policies. Many typical hibernate integration problems have been solved by using numerous flip control convenience features for full support. All of these comply with the spring general transaction and generic data Access object exception level specification.

    • Flexible MVC Web application framework based on core Spring features. The developer will have a high degree of control over the framework through the policy interface, so the framework will adapt to a variety of rendering (View) technologies such as Jsp,freemarker,velocity,tiles,itext and POI. It is worth noting that the Spring middle tier can easily be combined with any MVC framework-based web layer, such as struts,webwork, or Tapestry.

    • Provides an aspect-oriented programming framework for services such as transaction management.

When designing an application model, the MVC pattern (for example, struts) is often difficult to give a straightforward framework structure. Spring has the ability to make this part of the job easier. Program developers can use spring's JDBC abstraction layer to redesign those complex framework structures.

online Javadoc:http://tool.oschina.net/apidocs/apidoc?api=Spring-3.1.1

Download spring:http://repo.spring.io/libs-release-local/org/springframework/spring/

Turn from: Open source China Community

Introduction to Spring Framework

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.