Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When use a framework like Struts ?

 
Paulo Lima
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also check out the Jakarta Projects Forum. Many excellent threads out there are discussing Struts issues.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic