Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreWelcome back to another installment of This Week in Spring! This week finds @springsource at OSCON (and OSCON Java and OSCON Data) in Portland, OR. If you're here, come visit our booth in the exhibition hall or check the schedule for any of the numerous Spring-talks!
If you missed us at OSCON, or if you're simply looking for an even better Spring experience, be sure to register for SpringOne 2GX 2011, the premier event for Spring, Grails and CloudFoundry developers. SpringOne 2GX is a one-of-a-kind conference for application developers, solution architects, web operations and IT teams who develop business applications, create multi-device aware web applications, design cloud architectures, and manage high performance infrastructure. The sessions are specifically tailored for developers using the hugely popular open source Spring technologies, Groovy & Grails, and Tomcat. Whether you're building and running mission-critical business applications or designing the next killer cloud application, SpringOne 2GX will keep you up to date with the latest enterprise technology.
You should too: <a href="http://redis.io/">Redis</a> is an open source, advanced key-value store known for its excellent performance, its small footprint and embed-ability. <a href="http://www.springsource.org/spring-data/redis">The Spring Data</a> project makes it easier to build Spring-powered applications that use new data access technologies such as non-relational "NOSQL" databases and cloud based data services. Check it out! </li>
<a href= "http://www.springsource.org/node/3189">Spring Data Graph 1.1.0.RC1 with Neo4j support Released</a>
The key changes in the Spring Data Graph 1.1.0.RC1 release candidate include:
RestTemplate
.
</li>
The new milestone updates include:
<UL>
<LI>Native support for the upcoming GemFire 6.6</LI>
<LI>CacheServer support</LI>
<LI>GemFire implementation for Spring 3.1 cache abstraction</LI>
<LI>Support for queries with variable parameters</LI>
</UL>
<LI>
<A HREF ="http://www.springsource.org/node/3187">Spring Data JPA 1.0</a> GA's been released! This powerful framework makes it easy to build JPA-driven repository objects.
It's been a long road, but it's great to see this powerful framework reach 1.0 GA.
<LI>
Kal Wahner
has written an overview of <a href= "http://java.dzone.com/articles/rapid-cloud-development-spring"> the deployment of Spring Roo applications to Google App Engine</a>, another cloud environment that Spring supports readily.
He indicates his intention to write up another post, next week, on CloudFoundry, which I would love to see! Good stuff, too. NB: this isn't very technical; e.g., it's more of a a discussion of the broad strokes than a recipe, but he links to a more technical post that might help, too.
</LI>
<LI>
<DIV><A href="http://www.tomcatexpert.com/blog/2011/07/20/apache-tomcat-7019-released">Apache Tomcat 7.0.19 has been released!</a>
Apache Tomcat 7.0.19 includes security fixes, bug fixes and the following new features compared to version 7.0.16:
</DIV>
jdbc-pool
(an alternative database connection pool)
FactoryBean<T>
interface: what's it for? and why? I've written a two part post on the specifics of the interface as well as the often more suitable alternatives in Spring 3.0 and Spring 3.1.
FactoryBean
with Spring in Scala.
This is absolutely great, as it opens up a powerful part of the Spring framework to Scala development. Check it out!
<LI> Marco Tedone has written up a wonderful post on using an <A href="http://tedone.typepad.com/blog/2011/07/outofmemoryerror-warning-system-with-spring.html">OutOfMemoryError warning system - as described in issue #92 of Dr. Heinz Kabutz's wonderful newsletter -
with Spring</a>
This is fantastic, and useful!
</LI>
<LI> Spring MVC is very powerful and easily employed in your application (in Spring 3.0, you need only specify <CODE><mvc:annotation-driven /></CODE> to enable it; alternatively in Spring 3.1, you need only specify <CODE>@EnableWebMvc</CODE> to enable it). It's also very flexible, and can be configured in many ways. One of the pluggability planes is the view technology: there are common recipes for using JSP, Tiles, Velocity, FreeMarker, XML, JSON, PDFs, Excel spreadsheets and much more for Spring MVCs. If none of these meet your requirements, you can look to the open source community to leverage others, <a href="http://www.thymeleaf.org/"> including one called Thymeleaf.</a> Here's <a href="http://www.thymeleaf.org/thvsjsp.html">a comparison of Thymeleaf to JSP<a> as a Spring MVC view technology. Here's a tutorial on <a href= "http://www.thymeleaf.org/thymeleafspring3.html"> setting up the view technology in Spring MVC.</a> Powerful, and simple!
Check it out! Users of Tapestry's templates as well as JSF's Facelets will see a lot to like in this view template technology - check it out!
Apache Tomcat 7 includes several security updates that further harden the application server that came directly from the Bugzilla queue. One new feature, the Security Lifecycle Listener, helps ensure that Tomcat is started in a reasonably secure way.
</LI>