• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOJO vs DWR

 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kuladip Yadav
Ranch Hand
Posts: 162
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DOJO is on the presentation layer...
Personally, I wouldn't recommending using your presentation layer to directly access a webservice...
 
Frank Zammetti
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic