File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Struts 2 Design and Programming: A Tutorial" question

 
Tony Childs
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Struts 2 include some sort of built-in dependency injection mechanism?

In your opinion, what are the one or two "killer" features of Struts 2 that would make it worth moving to from Spring or JSF?

Thanks,
Tony
[ January 29, 2008: Message edited by: Tony ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Tony",
Please check your private messages.
 
Budi Kurniawan
Author
Ranch Hand
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have enough knowledge of the Spring MVC so I'm not going to comment on it, but compared to JSF, Struts has a simpler life cycle and I suspect it's faster to build Struts apps than the JSF equivalents.

One 'killer' feature of Struts 2 I would say is the plug-in. Thanks to this extension mechanism, you can build and use 'components' easily. Third party components are in abundance and can be found here:

http://cwiki.apache.org/S2PLUGINS/home.html

In my book, plug-ins are discussed in Chapter 23.
 
Tony Childs
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your answer. And from the plug-in page, I see that there is a Guice plug-in, so that answers my dependency injection question as well. Fantastic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic