aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes When use a framework like Struts ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "When use a framework like Struts ? " Watch "When use a framework like Struts ? " New topic
Author

When use a framework like Struts ?

Paulo Lima
Greenhorn

Joined: Apr 04, 2002
Posts: 10
What is the best approach to build a J2EE Web Application solution ? Use mvc web framework like Struts? Build a new solution and applies the Blue Prints and Design Patterns? Are there other web’s framework ?
I'm trying to define a Web Development approach to build applications to acquire speed, quality, security, flexibility to my team. I think that the Struts will become a standard on J2EE communities and open source groups. But I’m not sure if this will implies on some limitation in the future if the applications needs to grow.
Regards,
Paulo Lima.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
paulocdl
Welcome to the Java Ranch, we hope you�ll enjoy visiting as a regular however,
your name is not in keeping with our naming policy here at the ranch. Please change your display name to an appropriate name as shown in the policy.
Thanks again and we hope to see you around the ranch!!


Dave
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
You can either use Struts or can write your own MVC framework. The focus should be to use MVC in your architecture and have clear demarcation between the MVC layers.
Struts is mature, free, open source and does most of the MVC jobs. If you use Struts with caution, you will not endup buying into the framework.
Struts has several limitations though - the most we hear about are with the tag libraries. But the limitations are not in the architecture of Struts, they are mainly cosmetic.


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Struts encourages Model 2 architecture - an application architecture based on the Model-View-Controller (MVC) design paradigm, therefore enforces RIGHT design.
Yes, Struts is mature, free, open source and does most of the MVC jobs. Struts is ready-made, and will save you much design time.
As to your concern, such Model 2 architecture does advance extensibility thanks to its layered arch. For example, to extend your web application, you simply need to add new view components and make modifications to the controller component.
[ July 23, 2002: Message edited by: Doug Wang ]

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Also check out the Jakarta Projects Forum. Many excellent threads out there are discussing Struts issues.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When use a framework like Struts ?
 
Similar Threads
Mainstream J2ee framework
Java web application frameworks. Need your help to choose.
ICEFaces, how is it different or similar to Spring/GWT/Struts
Using ANT
How much control on the servlet, how much on stateful session EJB ?