• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts architecture

 
John King
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Struts framework based MVC? Does Struts
add new things to MVC?
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Struts Framework is based on MVC. As far as new things to MVC, there are as many variations in how to implement MVC as there are programmers, so I'm not really sure what you mean.
One thing that comes to mind that I hadn't really used before Struts was something like their ActionForm classes. Struts also has a nice set of custom jsp tags that come bundeled with it. Otherwise it's a failry straight implementation of MVC using the Command design pattern and an xml config file for the controller.
 
John King
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jason.
What makes Struts so popular? The taglibs?
Easy to use? or open source and free? How stable
is it?
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John King:
Thanks Jason.
What makes Struts so popular? The taglibs?
Easy to use? or open source and free? How stable
is it?

Yes to all of the above. Writing a web application using MVC is such a common task, that often people would write their own framework. Struts provides a robust framework for you, no need to spend your time rolling your own, letting you concentrate on the task at hand.
I haven't used the beta (lots of people have though), but their stable release is, well, stable. No problems that I've heard about or experienced.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic