抢先一步
VMware 提供培训和认证,助您加速进步。
了解更多欢迎回到另一期的“本周的 Spring 新闻”,本周真是激动人心!上周发布了 Spring 3.1 M2 以及 vFabric 5!有很多激动人心的内容要讨论,还有社区的最新动态,让我们开始吧!
Rod Johnson 在他的最新博客中详细讨论了该版本的全部细节。务必查看最新版本并试用一下。
Builder
API,以及更多更多!请在此查看发布公告,并通过您选择的构建依赖管理工具或下载页面获取文件。<LI> Hot on the heels of the Spring 3.1 release announcement, <a href="http://blog.springsource.com/2011/06/10/spring-3-1-m2-configuration-enhancements/">Chris Beams chimes in</a> on the much-improved Java-centric configuration model in Spring 3.1, M2, even as compared to M1! The features are really starting to come together to make this one of the smoothest, well arranged releases, yet! </LI>
<lI>
Spring 3.1 M2 代表着 Spring 核心以及 Spring MVC 的显著改进! Rossen Stoyanchev 介绍 了 Spring MVC 3.1 M2 中的众多新功能(真的,您需要阅读详细的博客才能了解 - 我甚至不打算在这里一一列举!),包括在 Servlet 3.0 容器上无 XML 的 Web 应用。快去看看吧!
<LI>Using Spring Roo? Want to shape it's future? Now's a good time to provide input! The Spring Roo team wants you to fill out a <a href="http://www.springsource.org/node/3150">quick survey on the direction of Spring Roo.</a></LI>
Spring Data Document 1.0.0.M3 的更改和新功能包括大幅改进的映射和转换支持。MappingMongoConverter
现在是MongoTemplate
使用的默认转换器,SimpleMongoConverter
已被弃用并将被移除。默认集合名称的概念也已移除,MongoTemplate
的所有操作都基于操作目标实体类所使用的集合名称。实体类使用的集合名称默认是类名(首字母小写),但可以使用@Document
注解进行自定义。
<LI>
<a href="http://www.springsource.org/node/3152">Spring Data Graph 1.1.0.M1 with Neo4j Support</a> has been released! As the announcement summarizes, <blockquote>The Graph Neo4j module provides integration with the Neo4j graph database. Back in 2010, Rod Johnson and Emil Eifrem started brainstorming about Spring and Neo4j integration including transparent persistence and cross-store support. After an initial prototype it has been further developed in close cooperation between the VMware and Neo Technology development teams.</blockquote> The new release includes dependency updates, support for the Neo4J query language called Cypher, self-relationships and much more! Check it out!
<li>Looking for a good matrix comparing Spring versus Java EE? One manager, a Bergisch Gladbach, <a href="http://niklasschlimm.blogspot.com/2011/06/spring-vs-java-ee-comparison-matrix.html">shares his</a>. Very interesting read, and one that reflects the norm for an increasingly large number of users today, I find. Check it out!
</li>
Marshaller
与不支持相同数据序列化的客户端时可能遇到的问题。一个例子?Spring Android 的 Simple XML Marshaller
默认不支持 JAXB2 日期!这篇博客也值得阅读,因为它提供了其他更具 Spring 特色且有用的内容的链接。如果我早点知道就好了!我至少能想到一个将受益于这个方法的代码库...