Bram Smeets Blog

 

Blog on Spring and DWR. AJAX with Spring made easy!

DWR & Spring presentation

Filed under: Ajax, Java, Spring — Bram Smeets at 9:49 pm on Tuesday, December 20, 2005

The slides of the presentation I did on The Spring Experience on DWR and Spring are online.
For those of you that missed out on the presentation, you can have a look at it now.

Download the slides

One of the main topics of my presentation was on the Spring integration part of DWR.
I encourage you all to tell us about the features you would like to see added to DWR in respect to enhanced Spring integration.

The demos are also online, you can download them here.

Java Conferences: The Spring Experience & JavaPolis

Filed under: Java, Spring — Bram Smeets at 12:25 am on Friday, December 16, 2005

Today, my two weeks of conferences came to an end…

The Spring Experience

On Sunday, I returned home from The Spring Experience in Florida. It turned out to be a very interesting and well-organized conference. Jay Zimmerman and Keith Donald really did a great job!
It was very nice meeting so many people using Spring and sharing ideas on how to bring Spring (and DWR) to the next level.

At TSE, I did a session on using AJAX, DWR & Spring, which will be available at JavaLobby somewhere in the beginning of 2006. Below is a link to download the source of the demo I did.

JavaPolis

This week I attended JavaPolis in Antwerpen, which was a lot bigger but evenly well organized by Stephan Janssen.
Too bad I could only be there for two days, but I had a great time. Again, it was really nice meeting so many people, many of whom I’ve been in touch with, but had not met face-to-face yet. I hope we will meet each other a lot more next year.

 

DWR & Spring Demo

For those of you who attended my session at TSE, you can download the code of the demos I did during my presentation here. Please keep in mind this is only a sample application, illustrating how to use DWR in a Spring-based web application.

The demo consists of two parts:

  1. DWR - this demo shows how to add an auto suggest functionality to an existing Spring MVC web application
  2. DWR & Spring - this demo implements a more ‘complex’ AJAX application. It offers an AJAX-enabled agenda, which fetches the calendar data through DWR. Note that it keeps the agenda data for the current three months in the browser memory. It only needs to call the server when you change the month selection.

Note: I’ve enabled an AjaxFilter (only available in DWR version 2.0) which fakes network latency and can be very useful during development to test your AJAX applications as they would perform with some latency. However, it makes the AJAX calls very slow. So it’s not DWR being slow by default ;-). You can disable the filter in dwr.xml.

Again, these demos are just provided in order to provide inspiration to those of you using DWR & Spring. Use it as a source for inspiration! I hope these examples will help get you started to build some nice AJAX-based web applications.