Visit our blog
News & Events
This week in Spring: July 26th, 2011
Welcome 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.
- OSCON's great, but I will be taking an hour to watch the webinar, Getting Started with Spring Data Redis for North America, and
You should too: Redis is an open source, advanced key-value store known for its excellent performance, its small footprint and embed-ability. The Spring Data 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!
Spring Data Graph 1.1.0.RC1 with Neo4j support Released
The key changes in the Spring Data Graph 1.1.0.RC1 release candidate include:
Added Gremlin support (embedded & REST)
QueryEngine.query method now takes a parameter map (for cypher and gremlin)
- Spring Android 1.0.0.M4 Released!
Spring Android supports usage of the Spring Framework in a Android environment. The 1.0.0.M4 release focuses on updating support for the latest Spring Social release in native Android applications, as well as providing enhancements to
- Support for Spring Social 1.0.0.RC1, and Spring Security 3.1.0.RC2 through the Spring Android Auth module, which includes a SQLite datastore for persisting OAuth API connections.
- Updated RestTemplate (client) support, now at the level of Spring Framework 3.1.0.M2.
- Added gzip compression support in RestTemplate
- Added support for Google's Gson JSON parsing library. The Gson library is smaller than Jackson, however Jackson has faster performance.
- Spring GemFire 1.1.0.M1 Has Been Released .
The new milestone updates include:
- Native support for the upcoming GemFire 6.6
- CacheServer support
- GemFire implementation for Spring 3.1 cache abstraction
- Support for queries with variable parameters
Spring Data JPA 1.0 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.
has written an overview of the deployment of Spring Roo applications to Google App Engine, 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.
JSP recompilation is now triggered by any change (backwards as well as forwards) in the last modified time of the JSP or any of its dependencies
Support for installing multiple instances with the Windows Installer
jdbc-pool (an alternative database connection pool)
Oleg Zhurakousky's written a very interesting post on using Scala functions as Spring beans, complete with source code! Very cool stuff!
- Your humble editor was asked recently about Spring's
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.
- Continuing with his Scala and Spring integration theme - Oleg Zhurakousky has written up a post on implementing a
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!
- Loiane Groner - the ESJUG (Espirito Santo Java Users Group) and CampinasJUG (Campinas Java Users Group) leader and coordinator - has written this fantastic post explaining how to use the ExtJS 4 upload component on the frontend with a Spring MVC 3 backend. Very pragmatic, cool stuff, and complete with lots of code!
- Marco Tedone has written up a wonderful post on using an OutOfMemoryError warning system - as described in issue #92 of Dr. Heinz Kabutz's wonderful newsletter -
This is fantastic, and useful!
- Spring MVC is very powerful and easily employed in your application (in Spring 3.0, you need only specify
<mvc:annotation-driven /> to enable it; alternatively in Spring 3.1, you need only specify
@EnableWebMvc 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, including one called Thymeleaf. Here's a comparison of Thymeleaf to JSP as a Spring MVC view technology. Here's a tutorial on setting up the view technology in Spring MVC. 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!
TomcatExpert.com has a great post on the Security Lifecycle listener.
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.
Our monthly newsletter is packed full of techniques, tutorials, tips and tricks to get you on your way to Spring nirvana. View Archive