抢先一步
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 XMLMarshaller
默认情况下不支持 JAXB2 日期!这还是一篇值得阅读的博客,因为它链接到其他更特定于 Spring 且有用的内容。如果我早点知道就好了!我可以想到至少有一个代码库将受益于此方法……