File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Krishnappan Muthuraman
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic