As I wrote previously, a WebSocket API is only the starting point for WebSocket-style messaging applications. Many practical challenges remain. As one Tomcat mailing list user mused recently: it does seem to me that websockets is still not really "production-ready", (I am not talking about the Tomcat implementation per se, but more generally) ... native websockets capability in IE is only available since IE-10 and that solutions which allow this to work in lower IE versions are a bit "iffy" (relying on a diversion through Adobe's FlashPlayer e.g.). (Most of our customers are largish…
As you may have seen, the first milestone of Spring Framework 4.0 was already announced and with it we've released early WebSocket support. Why WebSocket matters? It enables efficient, two-way communication over the web that is essential in applications where messages need to be exchanged between client (typically browser) and server at high frequency and with low latency. Common examples include trading, games, collaboration, data visualization, and others but the range of scenarios and use cases will grow over time. WebSocket is a very broad subject! You can watch our “Intro to WebSocket” on…
A minor maintenance release of Spring Web Flow 2.3.2 is now available via Maven and for download. See the Changelog for the list of changes. A first milestone of Spring Web Flow 2.4 is also available through the SpringSource milestone repository. See the Changelog for the full list of changes. Spring Web Flow samples have been separated from the distribution and into a separate Github project. In addition the booking-mvc sample has been updated to use Thymeleaf thanks to Thymeleaf's project lead Daniel Fernández.
[callout title=Update Dec 19, 2012]
The final Spring Framework reference documentation contains guidance on migration as well as a complete section on Spring MVC Test.
[/callout] Last week Juergen Hoeller announced
the release of Spring Framework 3.2 RC1 and Sam Brannen discussed exciting additions in its spring-test module such as support for WebApplicationContext's and upcoming plans for loading a hierarchy of contexts. Today I will continue this subject and describe another exciting spring-test addition. In 3.2 RC1 we've added first class support for testing Spring MVC applications both…
A second milestone of the Spring MVC Test project is now available through the SpringSource Artifactory repository http://repo.springsource.org/milestone. For further details and comments read this blog post.
Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) The Sample ChatController A Distributed Chat
Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) The Sample Getting Quotes Timeouts Executing Trades
Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) TaskExecutor Configuration Timeout Value MvcAsyncTask Exceptions Handler Interception Servlet Filters
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, stock quotes, status updates, live sports results, and others. To be sure not all examples are equally delay-sensitive but all of them share a similar need. Traditional Polling Long Polling HTTP Streaming WebSocket Protocol
Last updated on November 5th, 2012 (Spring MVC 3.2 RC1) Overview At a Glance Motivation for Asynchronicity In Web Applications