This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Struts 2 and Ajax

 
Ranch Hand
Posts: 701
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'd like to know if Struts 2 has many improvements concerning about Ajax.

Thanks
 
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was initially working with struts1 and found it very limited with ajax. I migrated to strust2 and what can I tell you...I love ajax. Struts2 has a lot of methodologies to integrate ajax and as a result the user-experience is much better (application is user friendly) and the application is faster.

hope this helps
 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Peter,

I'm interested with your comment. I never use struts or ajax but I know the concept and how mvc pattern works.

Originally posted by Peter Primrose:
application is faster.



What do you mean by "faster"? lightweight front-end processing (because of ajax) or the whole application (backend and frontend)?

thanks
anthony
 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Anthony,

sorry for my delay (bizz trip). By "application is faster" I refer to the user-experience, or in other words the application is more user friendly.

In my strust1 applications, when the user clicked a button there was some process in the background and the info was posted back to the user (an entire new page) this took fairly a lot of time.

The combination with struts2 and ajax is great from 2 aspects:
1. learning curve is fast (you'll get the idea quickly how to use ajax tags)
2. (with reg to the prev paragraph) when the user clicks a button the info is returned to an ID on the webapge (without the need to refresh the page) so this is what i meant by fast (i guess this is the idea of ajax:-) )

hope this helps
 
reply
    Bookmark Topic Watch Topic
  • New Topic