Dienstag, 27. November 2012

Realizing async server architecture with GWTP and Atmosphere

We have been using the GWTP framework for several production applications so far. While the MVP module of GWTP allows for a maintainable and scalable client architecture, the GWTP-Dispatch module centralizes client-server communication around the command pattern with features like action handlers, caching and batching. 

Recently we have been working on integrating the Atmosphere framework and GWTP-Dispatch with the goal of allowing asynchronous execution of server code while maintaining the command pattern approach that GWTP-Dispatch uses. Specifically we had to work with some Camel endpoints and Akka actors that do some work and asynchronously provide a result which was to be displayed on the client.