发布于 2015-08-01 01:01:36 | 127 次阅读 | 评论: 0 | 来源: 网友投递
Spring Framework 开源j2ee框架
Spring是什么呢?首先它是一个开源的项目,而且目前非常活跃;它是一个基于IOC和AOP的构架多层j2ee系统的框架,但它不强迫你必须在每一层 中必须使用Spring,因为它模块化的很好,允许你根据自己的需要选择使用它的某一个模块;它实现了很优雅的MVC,对不同的数据访问技术提供了统一的接口,采用IOC使得可以很容易的实现bean的装配,提供了简洁的AOP并据此实现Transcation Managment,等等
Spring Framework 4.2 GA 发布,此版本现已提供在 repo.spring.io 和 Maven Central。此版本属于 4.x 系列,兼容 Java 6,Java 7 和 Java 8,主要关注核心细化和现代化 Web 功能:
Annotation detection on Java 8 default methods (e.g. @Bean
)
Annotation-based application events (@EventListener
)
First-class support for annotation attribute aliases (@AliasFor
)
Full nested path processing for direct field binding
Data binding and conversion for JSR-354 Money & Currency
Integration with Hibernate ORM 5.0 (natively and via JPA)
Standards-based bean scripting via JSR-223 (JRuby, JavaScript)
JSR-223 based web views (with a focus on JavaScript on Nashorn)
Rich support for CORS and declarative HTTP caching
First-class support for HTTP Streaming and Server-Sent Events
CompletableFuture for handler methods and @Async
methods
Support for Jackson’s @JsonView
on STOMP endpoint methods
A STOMP client for use over TCP and WebSocket channels
MockMvc HtmlUnit integration for easy local testing of web pages
Integration tests can alternatively be executed with JUnit rules
And, as always, many further refinements in the details.
更多改进请看 Spring Framework 4.2 新特性和功能增强说明。
下一个特性版本将会是 Spring Framework 4.3,计划在 2016 年 3 月发布,将会是 Spring 4 系统要求的终结 (Java 6+, Servlet 2.5+),Spring 4.3.x 生命周期支持到 2019 年。
更多改进请看发行说明。
Spring是什么呢?首先它是一个开源的项目,而且目前非常活跃;它是一个基于IOC和AOP的构架多层j2ee系统的框架,但它不强迫你必须在每一层 中必须使用Spring,因为它模块化的很好,允许你根据自己的需要选择使用它的某一个模块;它实现了很优雅的MVC,对不同的数据访问技术提供了统一的接口,采用IOC使得可以很容易的实现bean的装配,提供了简洁的AOP并据此实现Transcation Managment,等等