• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best AJAX framework library for Struts.

 
Ranveer K Kumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am very new to Ajax.
I want to learn Ajax. When search on net found many Ajax Library like JQuery, DOJO, DWR, ZK, Moothut etc.

Please suggest me which is best and popular, and rich for implementing in Struts.


regards
Ranveer
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Best" is subjective and you'll get lots of opinions. Most popular is jQuery.
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can also use DWR and web parts also...
 
Ranveer K Kumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:"Best" is subjective and you'll get lots of opinions. Most popular is jQuery.


thanks for quick reply.

Actually I want to implement for Struts, so is jQuery good for Struts or any other ajax framework which is good for Struts. please suggest me...

thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've used both jQuery and Prototype/Scriptaculous with Struts 2 and have found both very capable and effective. Any of the other JavaScript libraries are likely to be similarly capable and effective, although some have a steeper learning curve than others. For example, YUI and Dojo are *complete* JavaScript frameworks, and in my opinion take longer to use effectively.

That said, using jQuery or Prototype still require a certain level of JavaScript programming skills.

There is no universal "best"--just like Bear said, "best" is subjective, and depends on many factors.
 
Ranveer K Kumar
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply..

I would like to know more about DWR and Dojo.

regarding following..

1> Learning curve
2> Features

regards

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read their documentation?

They serve two very different purposes. Dojo is a complete JavaScript client-side framework. IMO it has a fairly steep learning curve, is very functional, and due to non-technical reasons did not become one of the dominant players in the JavaScript framework arena.

DWR began as a way to mask the differences between server-side Java and client-slide JavaScript (and that's all I've used it for, so you should read up on it). It makes client-side JavaScript Ajax calls look like calls to native Java objects. It's pretty cool, and I've used it very effectively in that role.

None of these are Struts questions, however. If you have further questions regarding non-Struts, client-side frameworks you should ask them in the appropriate forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic