• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

what are the patterns that can be implemented, when I use Struts framework?

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am designing a web based application. I am planning to stick to struts framework.

Can anyone lemme know what are suitable patterns to implement when struts framework is adopted? (other than DAO's)

What are the performance issues should I take care of when I am building a web application using struts?

Thanks for the help.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Patterns? Use them all.

The biggest performance issue in Struts is finding the balance between memory and processor/network loads.

Basically, keeping things in session will increase memory load. Not keeping things in session usually means more method calls and db calls to retrieve needed information.

A good rule of thumb is to keep things in request scope unless ABSOLUTELY necessary. You may even get to avoid creating user sessions altogether, depending on what you're doing.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic