I want to run Ajax program in jsp/struts using DWR

10 views
Skip to first unread message

RAJU

unread,
Jan 26, 2007, 8:50:36 AM1/26/07
to Google Web Toolkit
Please tell me how to use Ajax in JSP/struts. I read some where that
DWR(Dynamic web Remoting ) is used for that. but
in struts for web page designing we have struts related html tags . so
tell me how to use DWR in Ajax for Struts/Jsp. I am using Mysql as
database.Thanks in Advance for helping

RAJU

unread,
Jan 26, 2007, 8:50:44 AM1/26/07
to Google Web Toolkit

Jon Wells

unread,
Jan 28, 2007, 10:05:20 AM1/28/07
to Google Web Toolkit
There has been lots of discussion in this group on this topic, so
search the group. Here's one I liked:

http://groups.google.com/group/Google-Web-Toolkit/browse_frm/thread/
f69e8ca6df26236f/f6d5d1096d9bdcad?lnk=gst&q=GWT
+Struts&rnum=1#f6d5d1096d9bdcad

My $.02 in short is that Struts and GWT don't go very well together.
Server side controllers are a drag IMHO, GWT is such a productivity
enhancement in part because it lets you move most of your application
to the browser and limits IPC to service calls which are fewer and
more meaningful at the service layer than they were at the controller
layer. Sure, you can continue to use Web MVC f/w's like Struts et al,
and it might make sense in cases where you've got a lot of legacy
stuff, but if I'm starting from scratch I'm more likely to implement
my app using "pure" MVC all on the client side, written in Java, etc,
much like a desktop app.

Jon

Reply all
Reply to author
Forward
0 new messages