Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThis has been another exciting week in the Spring community. The community seems abuzz about the new Tomcat release, mobile clients, Spring Data and big data (e.g., Spring Gemfire, Redis, and of course the Spring Data projects.)
A reminder: Juergen Hoeller - lead of the core Spring framework and contributor to all of the sister Spring projects, in some fashion or another - is giving two identical webinars - one for North America and one for Europe - on the new features in Spring 3.1 in two days (February 10th)! Be sure to register for this free webinar on the next iteration of the most widely used Java framework!
This is turning out to be a record event, with incredible advance registration numbers. While there are no Spring 3.1 binaries (yet; stay tuned!), the code for the Spring project is always at your disposal, so - if you're as excited about all the new features as I am - you'll see this webinar and start playing with it long before it's released.
Lots of good stuff to cover this week, so let's get to it!
has been released. The new version features several fixes and feature enhancements.
Apache Tomcat 7.0.8 has been released. This new release includes many small changes, including even better support for asynchronous, Comet-based applications. Apache Tomcat 6.0.32 has also been released, and is primarily a maintenance release. As always, there's good coverage on both of these releases on the Tomcat Expert community site.
Spring Mobile 1.0.0.M3 has been released. The Spring Mobile project is a library designed to facilitate mobile-device friendly web applications. It provides a nice, server-side component to Spring Android's Android-device-specific client support.
Users are encouraged to check out the fantastic new sample code projects being maintained in the Spring Mobile git repository.
Gordon Dickens has posted a fantastic blog on using
Spring's JMS support (including the JmsTemplate) and the Spring core OXM (an Object-to-XML marshalling framework) support to marshal JAXB2-based message payloads as XML. Good post, and it reads nicely in conjunction with the Green Beans post on messaging
Spring GemFire 1.0.0 (final) has been released. This
release provides first-class integration with the GemFire data management and data grid technology. Spring GemFire provides easy-to-use configuration for GemFire in idiomatic Spring configuration. Additionally, the Spring Gemfire integration will also play a part in the upcoming Spring 3.1 cache abstraction, which will support GemFire and numerous other data caches, as well.
Shekhar Gulati has contributed a fantastic post exploring Spring Roo and the Hades project, which is now a part of the umbrella Spring Data portfolio.
The post also introduces Spring Android-specific support for consuming server-side data from a client.
Justin Ryan's put together a post with a fascinating Spring BeanDefinitionRegistryPostProcessor
implementation to automatically inject mocks into Spring tests.
This implementation works with Spring's unit testing support. Spring's unit testing support provides a consistant way to use Spring annotations (like @Autowired
) in unit test classes and have those beans injected by the context just as if the unit tests were proper Spring components.
This implementation takes that a step further, automatically registering mock objects of the beans you've autowired.
In the Spring framework BeanDefinitionRegistryPostProcessor
is an extension of the classic BeanFactoryPostProcessor
that can be used to register objects in the Spring container that can in turn register other meta-objects like BeanFactoryPostProcessor instances. Otherwise, it works basically the same, but just has a higher scope.
Pretty slick Justin!