| Author |
DOJO vs DWR
|
Kuladip Yadav
Ranch Hand
Joined: Jul 30, 2008
Posts: 162
|
|
Hi all, I had created spring based web application . At that time I have used DWR(Direct Web Remoting) for ajax client side. I don't know about more about Ajax but it I can implemented it easily using DWR. Does DOJO having such kind of abstraction for Ajax. Can we compare DOJO with DWR ? For Ajax which is best and easy ? [ September 30, 2008: Message edited by: Kuldeep Yadav ]
|
 |
Frank Zammetti
Ranch Hand
Joined: Dec 16, 2004
Posts: 136
|
|
Dojo doesn't have anything specifixally like DWR because DWR is partly a client-side technology. That being said, Dojo does have some RPC-like mechanisms that aren't too bad. THAT being said, I personally recommend DWR for Java developers over any other option. To me it's just heads and shoulder above the rest, Dojo included. For non-Java developers the story might be a little different.
|
-- <br />Frank W. Zammetti<br />Founder and Chief Software Architect<br />Omnytex Technologies<br /><a href="http://www.omnytex.com" target="_blank" rel="nofollow">http://www.omnytex.com</a><br />AIM/Yahoo: fzammetti<br />MSN: fzammetti@hotmail.com<br />Author of "Practical Ajax Projects With Java Technology"<br /> (2006, Apress, ISBN 1-59059-695-1)<br />and "JavaScript, DOM Scripting and Ajax Projects"<br /> (2007, Apress, ISBN 1-59059-816-4)<br />Java Web Parts - <a href="http://javawebparts.sourceforge.net" target="_blank" rel="nofollow">http://javawebparts.sourceforge.net</a><br /> Supplying the wheel, so you don't have to reinvent it!
|
 |
Kuladip Yadav
Ranch Hand
Joined: Jul 30, 2008
Posts: 162
|
|
Dojo does have some RPC-like mechanisms
Does Dojo can be used in Web Service client ? Any link realated to that ?
|
 |
Chris Boldon
Ranch Hand
Joined: Aug 10, 2006
Posts: 190
|
|
DOJO is on the presentation layer... Personally, I wouldn't recommending using your presentation layer to directly access a webservice...
|
 |
Frank Zammetti
Ranch Hand
Joined: Dec 16, 2004
Posts: 136
|
|
If you mean can Dojo call JSON-P based web services, then yes. If you mean the full-stack web services, using SOAP, WSDL, and so on, then I don't believe so. I have to disagree with Chris on this one though... a client calling a web service is a very powerful concept that allows for all sorts of cool mashups, so I'm all for that (one of the projects in the book is exactly that). Now, if we're talking about calling full-blown web services from a JavaScript client, then I'd tend to agree, if for no other reason than all the XML parsing/generating code you'd need, which would be unpleasent.
|
 |
 |
|
|
subject: DOJO vs DWR
|
|
|