Since you are integrating with something already written the best solution is going to be something unobtrusive like JQuery. Prototype is another option but I prefer JQuery.
Originally posted by Praful Thakare: Thanks Much Gregg ,
what are your thoughts on DWR or JSON?
-P
Haven't really used DWR. JSON is not an ajax anything. It's a specification for passing objects around as a String using JavaScript. I use it extensively with JQuery when I need more than a chuck of HTML sent back from the server.
cool, thanks again, DWR allows to call methods on java class at server side, it behaves like proxy can any one throw more light on using DWR vs jQuery ?
-P
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
jQuery is a general-purpose library whose purview goes beyond just Ajax. And as Gregg pointed out, it's designed to be unobtrusive and works well in an existing environment and with other tools.
DWR is cool for what it is, but it really requires you to write your pages and server interactions in a manner not consistent with "normal" web apps. If you want to re-jigger things that way, that's cool. Otherwise, something like jQuery might be a better fit. [ March 31, 2008: Message edited by: Bear Bibeault ]