This Week in Spring, January 3rd, 2012

Engineering | Josh Long | January 04, 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 <EM>incredible</EM>, 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 <a href = "">SpringOne2GX 2011</a> conference.  

Thank you InfoQ for sharing this great content, as usual.

  1. Garry Russel and David Turanski's SpringOne2GX presentation on implementing highly available architectures using Spring Integration is now up on InfoQ.
  2. <LI> Rob Winch demoes some of the <A href = "">new features in Spring Security 3.1</a>: 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 <a href = "">new features in Spring MVC 3.1 is now up over at InfoQ</a>.
    	<LI> Community member and DevNexus organizer Gunnar Hillert has put together an awesome blog on a powerful, if underrated new feature in Spring 3.1: <a href = "">support for validating business service methods using JSR 303 and Spring</a>. 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.   </LI> 
    <LI>  Blogger <EM>Mrabti</EM> has the second part of his series
    	<a href = "">on using Spring and GWT together</a>. Check it out to learn about his architecture and how he used <a href ="">Spring Roo</a> and <a href ="">Spring Data</a> together. 
    <LI> <EM>Pro Spring</EM> co-author and Spring community member  Jan Machacek  
    	has put together a great blog on  <a href= "">using the Specs2 Spring testing framework to test your Spring applications</a>. Specs2 is a good way to
    					learn Scala, and to test your application.
    	Tomasz Nurkiewicz has  put together a post on <a href="">exposing Hibernate's 
     and EhCache's statistics using Spring's JMX exporters</a>. 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 <CODE>javax.sql.DataSource</CODE>, you can simply  reference it when configuring a <a href=""><CODE>org.springframework.jmx.export.MBeanExporter</CODE></a>.   Obtaining the <EM>native</EM> <CODE>EntityManagerFactory</CODE> isn't difficult, either and shouldn't require a subclass, as the <CODE>AbstractEntityManagerFactoryBean</CODE> base class exposes a public <CODE>nativeEntityManagerFactory</CODE> field which might have worked instead. Anyway,  the concepts are interesting, and - in the end - the blog <EM>does</EM> demonstrate  how to expose JMX information from objects that don't already expose them, so that's very cool. Nice job!
    <LI> JavaCodeGeeks has an interesting post on using Spring to <a href = "">build RESTful services on Google App Engine</a>.  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.
     <LI> Blogger  John Varghese has an interesting (if slightly not technical) write up 
    	 of  <A href = "">enterprise application development with Spring Roo</a>. 
    <LI> 	SpringSource founder and all around great guy Rod Johnson's presentation at QCon, 
    		<A href="">Things I'd Wish I'd Known</A>, 
    		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. 

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all