PDA

View Full Version : How to add GWT widgets to a Spring project


nicoSiegl
Jul 13th, 2007, 09:45 AM
Hi,
I'm very new at this Ajax stuff and unfortunately I don't have a lot of time to figure it out. I managed to get GWT to work and create my widget, and I already have the Spring webapp I want to integrate the widget into.

Can anyone help, or point me to some documents explaining in detail how to add my widget to one of the jsp pages of my project? The widget needs to interact with the server and the database, but for now I would be happy if I could get a simple widget integrated properly.

Thank you in advance for your time and understanding.

Sincerely,
Nicole

bowa
Jul 13th, 2007, 10:14 AM
have a look at this article on Bram Smeets blog

http://bram.jteam.nl/index.php/2007/06/20/springone-2007-slides-sample-code/

Complete with a skeleton application !

nicoSiegl
Jul 13th, 2007, 01:41 PM
Thanks a lot for that bowa.

It's a great example of spring integration with gwt.

Now, say I have a gwt app with spring integration, rpc calls and everything, and a bunch of spring and webflow projects that don't use gwt. Is there an easy way to include the gwt app in all of them as a widget by just, i don't know, copying/linking/modifyind web descriptors or servlets? If yes, how?

Thanks again,
Nicole