Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreAnother fantastic week in the Spring community. Can you guys believe it's already the 8th of November? Where does the time go?
If you blink, we'll be in 2012 already!
No time to waste - the year might change out from underneath us! - let's dive right into this week's roundup!
</LI>
<LI> Roger Hughes <a href="http://java.dzone.com/articles/using-jsr-250s-postconstruct">introduces how to use JSR 250's <CODE>@PostConstruct</CODE> and <CODE>@PreDestroy</CODE> annotations</A> to replace the use of the corresponding Spring callback interfaces, <CODE>InitializingBean</CODE> and <CODE>DisposableBean</CODE>. </LI>
<LI>Michal Huniewicz explains <a href= "http://blog.m1key.me/2011/10/wizard-form-with-spring-mvc.html">how to create a wizard form with Spring MVC</a>.
His solution's certainly one way to solve the problem (and worth a look), but as Spring MVC engineer Rossen Stoyanchev notes in the comments, developers should alternatively consider Spring Web Flow for these types of use cases, as well.
<LI> Yet another great post dissecting one of Spring's oft-misunderstood nuances by Roger Hughes! This post introduces <a href="http://java.dzone.com/articles/using-spring-mvc%E2%80%99s">Spring @MVC's <CODE>@ModelAttribute</CODE></A>.
The attribute can be handy when... what am I doing? <EM>Go</EM>, read the post! It's great!
</LI>
<lI> Want to run your Spring application on Google App Engine? Want to use their not-quite-there SQL support through Hibernate? Want Hibernate to not be painful? Use Spring. This post shows <a href= "http://blog.essaytagger.com/2011/11/spring-hibernate-on-google-app-engines.html">how to use Spring to setup <code>HibernateDao</code> on Google App Engine</a>. It sounds like this particular blogger is only using Spring to make the most of Hibernate, which is a shame. Spring runs really nicely on Google App Engine, and so users are encouraged to exploit its full power in that environment, too.
</LI>
<LI>
Readers of this column will know that we often try to link to posts about Tomcat administration that are <em>real world</EM>. Why? Because Tomcat's powerful and also the most widely used application server for Java developers, and sometimes developers need to blur the lines between developer and system administrator to develop applications in an environment that faithfully replicates production.
This week's link, <a href= "http://java-wisdom.blogspot.com/2010/11/apache-load-balancing-for-tomcat.html">on load balancing with Apache Tomcat by fronting it with Apache HTTPD</a>, is no different. Great introduction, and a great topic.
</LI>
<LI> Ashish Sarin, as readers of this column will know, really digs Spring Roo. He's just announced a Spring Roo podcast, and I couldn't be happier.
I'll certainly be checking it out, and you should too. Here's the <a href="http://spring-roo.blogspot.com/2011/10/spring-roo-podcast.html">announcement with details</a>.
</LI>
<LI>Chad Lung has put together a great introduction on <A href= "http://java.dzone.com/articles/build-spring-data-project">how to build a Spring-Data project with MongoDB in under 5 minutes using Netbeans 7 and Maven</a>. Spring makes it easy, no matter which build tool and IDE you're using, of course, but it's nice to have specific goals in mind when approaching this sort of integration, and this post is <EM>nothing</EM> if not specific! Read on!
</LI>
<LI>The United States Navy used Magnolia, the CMS, along with Spring to build their <a href="http://www.navy.com">Navy.com</A> portal and landing page. The web site is - among other things - the focal point of a high volume recruitment campaign here in the US.
Magnolia's putting on a webinar that explains "how Campbell Ewald (Navy's digital agency) used Magnolia's Blossom module for straightforward app integration and how Blossom enabled Spring developers to work efficiently with Magnolia CMS right from the start."
This could be interesting indeed. To learn more, <a href= "http://www.magnolia-cms.com/landing/webinar-navy.html">check out the webinar registration page.</a>
</LI>
<LI>
Using <a href="http://www.vmware.com/products/vcloud-director/overview.html">vCloud Director (VMware's turnkey IaaS solution)</a>? Want to publish notifications about system state using AMQP (and RabbitMQ)? <a href="http://cloud.dzone.com/articles/how-setup-rabbitmq-amqp-vcloud">Read this post</a>. 'Nuff said.
</LI>