Newest Post

Video: Practical Tips and Tricks with Spring Integration

Read more

Spring Mobile 1.0.0.RC2 Released

Dear Spring Community,

We are pleased to announce that the second release candidate of the Spring Mobile project is now available!

Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications.

Here is an overview of the new features and functionality:

  • Tablets are no longer recognized as mobile devices
  • Added support for resolving tablet devices in LiteDeviceResolver.
  • Added a new DeviceType enumeration consisting of NORMAL, MOBILE, and TABLET values.
  • The Device interface now includes isNormal(), and isTablet() methods in addition to the existing isMobile() method.
  • WebOS devices are now recognized as a mobile device in LiteDeviceResolver
  • Improved the SiteSwitcherHandlerInterceptor by adding an URL path alternative to "dotMobi" and "mDot" for site switching. The switcher is now capable of switching between "normal" and "mobile" URL paths within the same domain. For example an about page for a normal site may be "", and the mobile site may be ""
  • You can now configure a list of "normal" User-Agent keywords in the LiteDeviceResolver. It may happen that a device is falsely identified as mobile. This list of keywords takes precedence over the mobile and tablet keywords, effectively overriding the default behavior.
Read more

Spring Data REST 1.0.0.M1 Released

The Spring Data team is pleased to announce the (initial) 1.0.0.M1 release of Spring Data REST.

This release contains a Servlet-based web application that can be used to export JPA Repositories over HTTP to create RESTful endpoints that user agents can access to manage your exposed JPA Entities. Browsers (via Javascript) or non-interactive agents like curl or wget can perform CRUD operations on entities, including managing relationships between entities through the use of Links.

Starter Web Application | Wiki | Release Notes

Read more

This Week in Spring - April 24th, 2012

Welcome back to another installment of <EM>This Week in Spring</EM>! As I compile this, I'm eagerly waiting for
 Costin Leau to begin his talk on NOSQL with Spring here in sunny, and beautiful Kiev, Ukraine, the first stop in the European leg of the <a href = "">Cloud Foundry Open Tour</A>. The turnout for this event's been staggering! If you're reading this, then you've already missed out on the chance to attend the Kiev event, but be sure to register for the upcoming <a href = "">Moscow</A> and <a href = ""> London</A> events. 
Read more

This Week in Spring: April 17th, 2012

Welcome back to another installment of This Week in Spring. This week is the last chance to sign up for the SpringOne on the Road events in London, Kiev and Moscow so be sure to register. Let’s dive into it!

  1. Chris Richardson’s webinar recording on NoSQL options for the Java developer is online in the SpringSourceDev YouTube Channel.

  2. Shekhar Gulati’s excellent introduction to Spring Roo continues over on IBM’s developerWorks portal. The latest installment introduces writing advanced (and wrapper) Spring Roo addons.
  3. <LI>  This article, which introduces how to use <a href = "">Spring to assemble  JavaFX 2 components</a> is short and to the point.  I'd probably use Spring's Java configuration option to fully exploit all the custom components, however. The nice thing about the approach outlined (over using FXML, directly, is that beans configured this way benefit from all the services that Spring provides, including dependency injection and AOP). Nice post, Andy!  </LI>
    <LI>Blogger <EM>Rob Gordon</EM> has a nice post introducing <a href ="">Spring 3.1's custom property resolution mechanism</A> and explores some of the great power that it provides, along with some interesting examples. I really like  the easily understood example of establishing environment  properties based on a String read in from the command line.    </LI>
    <li>In the latest in his extensive Spring series, <EM>Eugen</EM> from the baeldung blog, explains how to <a href="">use RestTemplate with Basic Authentication in Spring</a>. This series of posts is developing into a nice collection of tips for REST style web interaction using Spring.    
    <LI> Blogger <EM>Angelo Zerr</EM> is at it again, following up his previous posts on Spring Data repositories with a post that describes an <a href   = "">(Eclipse RCP-based)  rich client that uses Spring Data JPA and Spring Remoting</A>.
        Definitely worth a read!   And, as if that weren't sweet enough, the blog example uses SpringSource Tool Suite lead Martin Lippert's  <CODE><a href = "">SpringExtensionFactory</A></CODE>! Nicely done!  </LI> 
    <LI>  The ajax911 blog has been working through a nice series introducing how to build Spring MVC applications, and has just <a  href = "">released part 5</A>.     </LI> 
    <LI>  Blogger Suresh Payankannur has a great post on the <EM>right</EM> way to <a href = "">handle LOBs in Spring 3.1's Hibernate 4 support</A>.  </li>
           Rene van Wijk
           has a pretty detailed blog (yay! I'm always glad for details) on how to use <a href = "">Spring with WebLogic JMS's clusters</A>.
        <LI> Blogger Arul has an interesting blog on what it looks to  <a href = "">build Spring applications behind a Red5 router</A>.  </LI>
           Read this <a href="">blog</a> - it is not actually about using Jersey and Spring together, rather it is about library dependency management. It is a good-to-remember warning: older API integrations may link to older version of Spring which overlap with more contemporary libraries on your class path, and that can cause mayhem in your code. To fix it, make judicious use of <CODE>&lt;exclusion&gt;.</CODE>
           <LI> Blogger <em>bwgz57</EM> introduces how to <a href = "">build Spring Web Flow projects</a> with a really clean thorough example.
        <LI>    On the CompareStuffs blog, there is an example on <a href  = "">how to use the older <CODE>MultiActionController</CODE></a>. This is useful, but it is important to remember that Spring MVC 2.5 and greater have supported the combination of multiple   controller methods in single beans very easily  with  annotations. </li>

Read more

This Week in Spring, April 10th, 2012

What a great week! The Cloud Foundry Open Tour’s well under way, having just finished the Asian and US legs of the tour. Now, onward to Europe! (If you’re in Europe, now’s the time to secure your spot!)

Before we continue on to the bevy of the latest and greatest content, I wanted to remind you guys to check out Spring Integration ninja Oleg Zhurakousky’s upcoming webinar, Practical Tips for Spring Integration. There is, as usual, one event for North America, and one for Europe

  1. Gunnar Hillert’s put together a blog introducing a feature that’s received a lot of attention in SpringSource Tool Suite: easy-to-use templates for creating Spring Integration projects. Nice job, Gunnar! Also, check out Gunnar’s accompanying video Create Spring Integration Projects with STS on the SpringSource YouTube channel.
  2. Michael Isvy has put together a great blog explaining a few of the things you should be aware of when upgrading to Spring 3.1. Handy!
  3.  <LI> Spring Integration 2.1.1 has been released! This is the first maintenance release of 2.1.x branch and contains the usual things like bug fixes and improvements related to AMQP, Gemfire, Mongo and Redis modules which were first introduced in Spring Integration 2.1.0. All together 56 issues were resolved with this release. 
         For more, consult <a href = "">the release announcement</A>.</LI>
    <LI>  Gabriel Axel talks about the <a href = "">first milestone of Spring Social Google</A>, the <A href = "">Spring Social</A> binding for Google's APIs, including Google+.  </LI>
     <LI>   Aparna Chaudhary has put together a <EM>wonderful</EM>, concise blog  that explains how to <a href = "">archive log files using Spring Data MongoDB and Spring Integration</A>. 

  4. Bloger Sloan Seaman’s put together a fascinating introduction to the wide world of Spring’s custom XML namespace support, rooted around
    the BeanDefinitionParser class. This introduction’s both powerful, and helpful. Spring namespaces are an integral part of providing a clean, useful integration API for people that consume your API from Spring. Spring’s XML namespaces often pack a lot of punch, offering very efficient, more focused DSLs for certain API abstractions and concepts XML namespaces are easy to create, and many third party projects also provide namespace implementations for their APIs.

    Here’s Part 1 and
    Part 2.

  5. Gordon Dickens, of Chariot Solutions, has put together a great blog introducing how to create and configure Java 7 for use with Spring Roo
  6. Blogger Diarmuid Moloney has put together a great look at how to use Spring 3.1’s Environment abstraction, which provides an interface to the things that tend to change from one environment to another - properties, profiles, etc. He introduces the problems that Environment and its cousin, profiles, are designed to solve, then introduces how to use the Environment API to solve the problem.

     <LI>  Cake Solution's Jan Machacek is at it again, this time he's thinking aloud <a href = "">about a more sophisticate polyglot persistence story for Spring Data</A>. What do you guys think about his ideas? Be sure to let him know and to encourage him!    </LI>

  7. Building Spring MVC applications, but want to use Groovy instead? Check out this blog that introduces how to setup Groovy and use it in conjunction with Spring MVC.
  8. Apache Tomcat 7.0.27 has been released with many new features and bug fixes.
  9. Alex Soto’s at it again, this time with a great look at how to use Dumbster, a fake email server, with Spring’s JavaMail support for easier unit tests.

Read more

Create Spring Integration Projects using STS

Just days ago, SpringSource Tool Suite™ (STS) 2.9.1 was released. Besides many new features, it provides several features that are especially exciting for Spring Integration users. First of all, the latest STS release adds support for Spring Integration 2.1 and improves the visualization capabilities for Spring Integration flows. STS supports now all recently added Spring Integration adapters such as:

Spring Template Project Wizard

  • Spring Integration Project (Standalone) - Simple

  • Spring Integration Project (Standalone) - File

  • Spring Integration Project (War)

Read more

Spring Integration 2.1.1 Released

The Spring Integration team is pleased to announce the release of Spring Integration 2.1.1.RELEASE. This is the first maintenance release of 2.1.x branch and contains the usual things like bug fixes and improvements related to AMQP, Gemfire, Mongo and Redis modules which were first introduced in Spring Integration 2.1.0. All together 56 issues were resolved with this release.

Download | JavaDocs | Reference Documentation | Release Notes

To learn more about the project, visit the Spring Integration homepage, watch the introduction video or ask a question on the forum.

Read more

This Week in Spring - April 3rd, 2012

Welcome to another Installment of This Week in Spring
The Cloud Foundry Open Tour is well underway, and have been thus far very good events to attract community.

There are still some (well, there were yesterday!) early bird spots in the upcoming shows in <a href = "">Austin</A>, <a href = "">Washington D.C.</a>, <a href = "">Kiev</A>, <a href = "">Moscow</A>, and <a href  = "">London</A>, so book now. 
Read more