Archive for the Web category

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…

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…

Jeff Brown

Secure Data Binding With Grails

Introduction The Grails Framework provides a lot of tools and techniques to web application developers to simplify solving common application development challenges. Among those are a number of things which simplify the complicated and tedious problems often associated with data binding. In general, data binding is made very simple by Grails as it offers several Read more…

Dave Syer

Cross Site Request Forgery and OAuth2

In this short article we look at Cross Site Request Forgery in the context of OAuth2, looking at possible attacks and how they can be countered when OAuth2 is being used to protect web resources. OAuth2 is a protocol enabling a Client application, often a web application, to act on behalf of a User, but Read more…

Peter Ledbrook

Countdown to Grails 2.0: Static resources

Web applications typically rely heavily on what we call static resources, such as Javascript, CSS and image files. In a Grails application, they are put into a project's web-app directory and then referenced from the HTML. For example, will create a link to the file web-app/css/main.css. All very straightforward. You might even think that the Read more…

Rossen Stoyanchev

Spring 3.1 M2: Spring MVC Enhancements

This post focuses on what's new for Spring MVC in Spring 3.1 M2. Here are the topics: Code-based equivalent for the MVC namespace. Customizable @MVC processing. Programming model improvements. A brief reminder that the features discussed here are in action at the Greenhouse project. Code-based Configuration For Spring MVC As Chris pointed out in his Read more…

Ben Alex

What's New In Spring Roo 1.1.1

It's our pleasure to announce the general availability of Spring Roo 1.1.1. This new release incorporates over 250 fixes and enhancements, including many performance and functionality improvements. As always, SpringSource Tool Suite (STS) 2.5.2 will be released very shortly and incorporate this new version of Spring Roo. You can also download the standalone version of Read more…

Colin Sampaleanu

Green Beans: Getting Started with Spring MVC

Spring MVC, a part of the core Spring Framework, is a mature and capable action-response style web framework, with a wide range of capabilities and options aimed at handling a variety of UI-focused and non-UI-focused web tier use cases. All this can potentially be overwhelming to the Spring MVC neophyte. I think it's useful for Read more…

Juergen Hoeller

Spring 3 on a Java EE 6 server

Spring on Java EE 6 – a viable combination? Can you easily continue to use Spring when you have a Java EE 6 server to deploy to? At this year's edition of the SpringOne conference which kicked off just a few hours ago, I'll once again be presenting a session on Spring and EE 6: Read more…

Glyn Normington

Gemini Web Release Candidate

The first release candidate of the Gemini Web project is available for download. See the bug list for what's changed since milestone 4. Thanks to Violeta Georgieva of SAP for her continued contributions. The project is due for an Eclipse review on 20 October so that it can graduate from incubation and ship a 1.1.0 Read more…