Win a copy of Terraform in Action this week in the Cloud 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
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic