Stripes Google Web Toolkit integration
integration of GWTs RPC features into stripes
UPDATE: see this post for a complete working example of GWT integrated with stripes.
GWT is a really nice toolkit for building javascript based user interfaces - without the need for writing javascript. Check it out if you have not yet. GWT ships with a servlet (called RemoteServiceServlet) that should be used for the RCP (remote procedure call) parts of GWT.
But as my current web framework of choice is Stripes this servlet was of no specific use for me.
Thanks to the Stripes mailing list the following abstract ActionBean implementation arised:
Now I can create implementations of this ActionBean - and let them implement my ServiceInterfaces - just like described in the GWT guide. Here is such an implementation example:
Maybe there are more elegant ways of doing this but it works for me now. Or how have you integrated GWT with stripes? Leave a comment!!!