spring4.x new Features

Source: Internet
Author: User

In the recent project, you are ready to integrate spring Data Redis,

<dependencies> <dependency> <groupId>org.springframework.data</groupId> <artif Actid>spring-data-redis</artifactid> <version>1.7.1.RELEASE</version> </DEPENDENCY>&L T;/dependencies>

The stable version has reached 1.7.1.RELEASE,

It requires JDK level 6.0 and above, and Spring 3.2.8 and above.

Since the previous project SPIRNG version is 3.1.1, I intend to upgrade the version,

The last officer net looked under, the spring version all to 4.3.0 RC2, the latest stable version is 4.2.6.RELEASE

<dependencies> <dependency> <groupId>org.springframework</groupId> <artifactid >spring-context</artifactId> <version>4.2.6.RELEASE</version> </dependency></depen Dencies>

Out of curiosity, I wanted to see what improvements Spring4 had made, after all, the version number was a big change.

http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/

The official documents are written in very detailed, here is the general:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/81/F2/wKioL1dGViKxWs02AACFNNiy-1Y445.png "title=" Qq20160526094449.png "alt=" Wkiol1dgvikxws02aacfnniy-1y445.png "/> From the official spring documents, you can see the improvements are still quite a lot.


650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/81/F2/wKioL1dGVuLxIqCPAAD1FyqZ9Rw260.png "title=" Spring4.png "alt=" Wkiol1dgvulxiqcpaad1fyqz9rw260.png "/>

Fig. 2 Spring4 Modules

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/81/F4/wKiom1dGVlqx0hgZAADIBG7_Xk8237.png "title=" Spring33.png "alt=" Wkiom1dgvlqx0hgzaadibg7_xk8237.png "/>

Fig. 3 Spring3 Modules

The above two pictures, you can carefully compare, Figure 2 is SPRING4 modules, Figure 3 is spring3 modules.

For a more detailed description, see official website:#spring-whats-new


http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#spring-whats-new


Here, incidentally, the ORM.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/81/F4/wKiom1dGWdng64_HAABXNdvyOM4468.png "title=" Hibernate.png "alt=" Wkiom1dgwdng64_haabxndvyom4468.png "/>

Although the 4.2.6 still provide hibernate3 support, but the official website is said:

Hibernate 3.6.10

the org.springframework.orm.hibernate3  package is phasing out as of Spring Framework 4.2. We keep supporting it for the time being; However, we strongly recommend an upgrade to Hibernate 4.2/4.3 or 5.0.

So upgrade hibernate to 4.2/4.3 or 5.0,hibernate the latest stable version to 5.1.0.Final.


This blog will be followed by the introduction of spring4.2.6+hibernate5.1.0+shiro1.2.4 related upgrades, integration blog. Please look forward to it.

spring4.x new Features

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.