This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Best AJAX framework library for Struts. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Best AJAX framework library for Struts." Watch "Best AJAX framework library for Struts." New topic
Author

Best AJAX framework library for Struts.

Ranveer K Kumar
Ranch Hand

Joined: Sep 13, 2009
Posts: 64
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

Joined: Jan 10, 2002
Posts: 60046
    
  65

"Best" is subjective and you'll get lots of opinions. Most popular is jQuery.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

you can also use DWR and web parts also...


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Ranveer K Kumar
Ranch Hand

Joined: Sep 13, 2009
Posts: 64
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

Joined: Sep 29, 2008
Posts: 12617

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

Joined: Sep 13, 2009
Posts: 64
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

Joined: Sep 29, 2008
Posts: 12617

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Best AJAX framework library for Struts.
 
Similar Threads
Ajax tag is not working in strus2.1.6 with eclipse editor
Apache Struts 2 Web Application Development and Ajax
AJAX or Flex which one is better for front end in Struts project any Why ?
Ajax and struts integration
Best Ajax Framework