Archive for the Spring category

Alan Stewart

Spring Roo 1.2.2.RELEASE available

The Spring Roo team is pleased to announce the availability 1.2.2.RELEASE.  This is the second maintenance release for 1.2 and includes fixes for a number of issues and includes support for Spring Framework 3.1.1 and JDK 7.  Roo 1.2.2 also includes the excellent new "tailor" feature provided by our new partner, Accenture. I hope you Read more…

Michael Isvy

Transactions, Caching and AOP: understanding proxy usage in Spring

In the Spring framework, many technical features rely on proxy usage. We are going to go in depth on this topic using three examples: Transactions, Caching and Java Configuration. All the code samples shown in this blog entry are available on my github account. Transactions First step: no transaction The Service class below is not Read more…

Rossen Stoyanchev

Spring MVC 3.2 Preview: Chat Sample

Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) In previous blog posts I introduced the Servlet 3 based async capability in Spring MVC 3.2 and used the spring-mvc-showcase and the Spring AMQP stocks sample to demonstrate it. This post presents a chat sample where the external events are not AMQP messages but rather Read more…

Rossen Stoyanchev

Spring MVC 3.2 Preview: Adding Long Polling to an Existing Web Application

Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) In my last post I discussed how to make a Spring MVC controller method asynchronous by returning a Callable which is then invoked in a separate thread by Spring MVC. But what if async processing depended on receiving some external event in a thread not Read more…

Rossen Stoyanchev

Spring MVC 3.2 Preview: Making a Controller Method Asynchronous

Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) In previous posts I introduced the Servlet 3 based async capability in Spring MVC 3.2 and discussed techniques for real-time updates. In this post I'll go into more technical details and discuss how asynchronous processing fits into the Spring MVC request lifecycle. As a quick Read more…

Josh Long

Using Cloud Foundry Workers with Spring

You've no doubt read Jennifer Hickey's amazing blog posts introducing Cloud Foundry workers, their application in setting up Ruby Resque background jobs, and today's post introducing the Spring support. Key Takeaways for Spring Developers You need to update your version of vmc with gem update vmc. Cloud Foundry workers let you run public static void Read more…

Rossen Stoyanchev

Spring MVC 3.2 Preview: Techniques for Real-time Updates

Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) In my last post I introduced the new Servlet 3 based, async support in Spring MVC 3.2 and talked about long-running requests. A second very important motivation for async processing is the need for browsers to receive real-time updates. Examples include chatting in a browser, Read more…

Rossen Stoyanchev

Spring MVC 3.2 Preview: Introducing Servlet 3, Async Support

Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) Overview Spring MVC 3.2 introduces Servlet 3 based asynchronous request processing. This is the first of several blog posts covering this new capability and providing context in which to understand how and why you would use it. The main purpose of early releases is to Read more…

Gunnar Hillert

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 Read more…

Michael Isvy

Migrating to Spring 3.1 and Hibernate 4.1

Update to Spring 3.2The application has been updated to Spring 3.2. The new version is available here: Spring 3.2. The old one is still available: Spring 3.1. As part of the Core-Spring course, we have a lab application that we use to show how to integrate Spring and JPA/Hibernate together. We have just upgraded it Read more…