Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreWelcome back to another installment of "This Week in Spring," and what a week it's been! This last week saw the release of the Spring 3.1 M2 and vFabric 5! Lots of exciting stuff to talk about there, as well as general community news, so let's get to it!
Rod Johnson discusses all the details of the release in his latest blog. Be sure to check out the latest release and try it out.
Builder
APIs for JPA and Hibernate, and much, much more! Check out the release announcement here and get the bits from your build dependency management tool of choice or the download page
<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 represents a marked improvement in core Spring, as well as Spring MVC! Rossen Stoyanchev chimes in to introduce the numerous (truly, you'll need to read the detailed blog to get an idea - I won't even bother trying to enumerate them all here!) new features in Spring MVC 3.1 M2, including XML-free web applications on Servlet 3.0 containers. Check it out!
<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>
The changes and new features in Spring Data Document 1.0.0.M3 includes much improved mapping and conversion support. TheMappingMongoConverter
is now the default converter used by theMongoTemplate
and theSimpleMongoConverter
has been deprecated and will be removed. The concept of a default collection name has also been removed and all operations of theMongoTemplate
are based on the collection name used for the entity class that is the target of the operation. The collection name used for an entity class defaults to the class name starting with a lower-case letter but it can be customized using the@Document
annotation.
<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
with a client that doesn't support the same data serialization. One example of this? Spring Android's Simple XML Marshaller
doesn't support JAXB2 dates, by default! This is also a good blog to read for the links to the other, more Spring-specific and useful content.
If only I'd known this sooner! I can think of at least one code base that will benefit from this recipe...