aspose file tools*
The moose likes Struts and the fly likes what are the patterns that can be implemented, when I use Struts framework? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "what are the patterns that can be implemented, when I use Struts framework?" Watch "what are the patterns that can be implemented, when I use Struts framework?" New topic
Author

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

Krishnappan Muthuraman
Greenhorn

Joined: Feb 16, 2004
Posts: 21
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

Joined: Feb 05, 2003
Posts: 4727

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.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what are the patterns that can be implemented, when I use Struts framework?