• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Best AJAX framework library for Struts.

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67553
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Best" is subjective and you'll get lots of opinions. Most popular is jQuery.
 
Ranch Hand
Posts: 689
Scala Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic