| Author |
"Struts 2 Design and Programming: A Tutorial" question
|
Tony Childs
Greenhorn
Joined: Dec 12, 2007
Posts: 4
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
"Tony", Please check your private messages.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Budi Kurniawan
Author
Ranch Hand
Joined: Apr 30, 2002
Posts: 65
|
|
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
Joined: Dec 12, 2007
Posts: 4
|
|
|
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.
|
 |
 |
|
|
subject: "Struts 2 Design and Programming: A Tutorial" question
|
|
|