领先一步
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 特色且有用的内容的链接。如果我早点知道就好了!我至少能想到一个代码库会从这个方法中受益……