Visit our blog
News & Events
This Week in Spring, January 3rd, 2012
Happy new year!
I hope your new year and holidays were amazing.
And, welcome back to another installment of This Week in Spring.
This year is going to be incredible, so let's dive right into it.
This week's roundup features some content from the last few weeks. Particularly, we've got content that InfoQ put up
from the SpringOne2GX 2011 conference.
Thank you InfoQ for sharing this great content, as usual.
Garry Russel and David Turanski's SpringOne2GX presentation on implementing highly available architectures using Spring Integration is now up on InfoQ.
- Rob Winch demoes some of the new features in Spring Security 3.1: multiple http elements, stateless authentication mode for RESTful services, Debug Filter, CAS support for proxy tickets, JAAS, etc. This is another great presentation from SpringOne2GX 2011.
Rossen Stoyanchev's presentation at SpringOne2GX 2011 on the new features in Spring MVC 3.1 is now up over at InfoQ.
- Community member and DevNexus organizer Gunnar Hillert has put together an awesome blog on a powerful, if underrated new feature in Spring 3.1: support for validating business service methods using JSR 303 and Spring. This support is manifest in the Spring MVC REST support for validating marshalled entities that are part of the request. But, as Gunnar explains, the
facility can be used generically in any service tier.
- Blogger Mrabti has the second part of his series
on using Spring and GWT together. Check it out to learn about his architecture and how he used Spring Roo and Spring Data together.
- Pro Spring co-author and Spring community member Jan Machacek
has put together a great blog on using the Specs2 Spring testing framework to test your Spring applications. Specs2 is a good way to
learn Scala, and to test your application.
Tomasz Nurkiewicz has put together a post on exposing Hibernate's
and EhCache's statistics using Spring's JMX exporters. The code's written in Scala, but should translate
naturally for those conversant in Java. One little niggle is that he subclasses classes
to expose them, which doesn't quite feel right. Sure, it works, but it's probably not required.
In the case of the
javax.sql.DataSource, you can simply reference it when configuring a
org.springframework.jmx.export.MBeanExporter. Obtaining the native
EntityManagerFactory isn't difficult, either and shouldn't require a subclass, as the
AbstractEntityManagerFactoryBean base class exposes a public
nativeEntityManagerFactory field which might have worked instead. Anyway, the concepts are interesting, and - in the end - the blog does demonstrate how to expose JMX information from objects that don't already expose them, so that's very cool. Nice job!
- JavaCodeGeeks has an interesting post on using Spring to build RESTful services on Google App Engine. There's very little specific to Spring here (as that just works - after all, Spring's unparalleled in its ability to work on any cloud). Instead, this post covers the minutae of configuring Google App Engine and of configuring Maven, and so on. A worthy read if you're looking for the details.
- Blogger John Varghese has an interesting (if slightly not technical) write up
of enterprise application development with Spring Roo.
- SpringSource founder and all around great guy Rod Johnson's presentation at QCon,
Things I'd Wish I'd Known,
is also up on InfoQ. Rod is a charming presenter and it's great to hear him talk about the exhilarating (if sometimes nerve-wracking) development of SpringSource.
Our monthly newsletter is packed full of techniques, tutorials, tips and tricks to get you on your way to Spring nirvana. View Archive