This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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?
 
Similar Threads
Pro Jakarta Struts Book
How to practice the web tire design patterns?
designing a web application
How to add header and footer to dynamically generated page for print
Build Struts App Using VAJ