Apache Struts 2 GA Release

by Steve Anglin

InfoQ.com points to the general availability release of Apache Struts 2.x and what it means, has, etc.




23 Comments

Jan Brink
2007-02-26 18:22:49
I would pick Wicket or GWT.
DDC
2007-02-26 18:34:31
Seam + Facelets is my choice. I find I can develop things in much less time than with Struts.
Julio Aguilar
2007-02-26 18:41:22
I've used Webwork since version 1 and, although I've checked Stripes lately, I will move on to Struts2.
steve
2007-02-26 18:56:53
Seam (like Spring) is a broader enterprise application framework. To me, comparing Seam to Struts is an apple to orange like comparison, imo.
steve
2007-02-26 18:58:45
Also, I'm sure some will compare Spring with Struts. Instead, it's more appropriate to compare Spring MVC to Struts, imo.
KGW
2007-02-26 20:11:20
Certainly moving to struts2. Webwork+Spring+Hibernate is an extremely productive toolset and struts2 looks like webwork++. Up till now, webwork took the least code, the least time, and allowed for the greatest productivity of all the frameworks I've tried. (Tapestry 5 looks like it is the first component framework that might have a shot at competing with that)
Wesslan
2007-02-26 21:52:44
I'm a long time Webwork user with good experiences so I will most certainly give Struts 2 a try in production.
Renaud Bruyeron
2007-02-27 00:01:06

Stripes is imho a superior choice in 2007: it is built on jdk5 from the ground up, it is *fast*, and more importantly it takes about 30mn to learn. Yet its many extension points make it way more advanced than struts.


I think the choice today is between Seam and one of the nextgen mvc frameworks (stripes being the leading contender). When I look at Seam vs. Stripes, I see revolution vs. evolution. Stripes is the product of the natural evolution of the MVC pattern: it is simple, crisp, and any struts programmer can be productive with it under 30mn. Seam on the other hand brings a sophisticated component model and advanced features like conversation/business scoping, at the cost of a clean break from the action oriented pattern, more weight on the deployment side (despite the embedded ejb3 container, you really want to deploy to jboss) and more time for any development team to learn the ropes and adapt to the new patterns.


imho, struts2 missed the boat. It has a nice "vintage" feeling to it, and it may be able to ride the marketing clout that goes with the name, but the technology feels like a "blast from the past". If you are on jdk5 and want an action-oriented framework, go with stripes.

artemv
2007-02-27 05:11:46
to steve:
Seam + Facelets means also JSF which makes the comparison valid, isn't it?
Tom
2007-02-27 06:37:39
I've found Grails to be an extremely clean and concise framework. Having Spring built in makes you feel right at home. The language makes it incredibly easy to convey intent, and for an MVC architecture I don't think it could get any more simple.


People shy away because it "isn't Java" (I say, it is) but you can't argue with its efficiency once you try it.

steve
2007-02-27 09:05:59
To artemv, Seam is a broader, lightweight EJB3-JSF contextual framework. Now, if you only plan to use the JSF aspect of Seam + Facelets - maybe you can compare. Otherwise, I don't think so, imo.
steve
2007-02-27 09:08:47
Why use Seam anyway, if you're only planning on using JSF/Facelets. There are other options like ICEfaces, MyFaces, etc.


Facelets is likely going to merge with one or several of these, too, imo.


Lastly, will dynamic scripting language based frameworks like Grails and JRuby on Rails eventually take over the need for Struts, JSF, etc.?

marcoquiros@CR
2007-02-27 10:10:36
I prefer to use the Click Framework (http://click.sourceforge.net/)
Simple, almost without configuration, easy to integrate with other components or frameworks (ie. Jasperreports), excellent out-of-the-box components, uses velocity or JSP for UI, AJAX ready, and other advantages.
aizul
2007-02-28 00:13:59
Yes. The Interceptor feature is cool.I've never used WebWorks before but if i knew about it earlier than Struts i would have adopted it. Anyway Struts has been my saviour so i'm more than happy to know that Struts 2 is around. As my choice..it would still be Struts
George
2007-02-28 17:54:53
Struts 2 or Webwork 3?
Pete
2007-03-01 13:50:59
will move to Struts 2. why if there are seemingly superior frameworks? Obviously the most important factor is a number of people which use Struts - if you have any problems there are gazillions of resources and books and articles - where do I find one on Stripes - common sense prevails
George
2007-03-01 20:45:09
Tried to find a Struts 2 book on the Amazon Web site, but only got Struts books listed. The closest Struts 2 book you can get at this time is actually WebWork in Action.
Peter Thomas
2007-03-02 12:26:36
Wicket!


http://ptrthomas.wordpress.com/2007/03/02/wicket-impressions-moving-from-spring-mvc-webflow/

Michael K
2007-03-08 08:06:25
I've used Struts 1.x, WebWork 1.x and Stripes 1.x.


By far, Stripes is the simplest and most straightforward framework out there. It integrated very nicely with Spring and the JDK 1.5 annotations are, imho, above anything that any other XML configuration can provide (i.e. xwork.xml, struts-config.xml, etc.)


As other commentors have said, you can learn and be productive in under 30 minutes.


Another standard for comparison is a framework's documentation. The documentation and tutorials on Stripes website are better than I have
seen anywhere else.


I suggest that everyone take a look at Stripes.

Akbar Ibrahim
2007-04-17 14:04:08
Give me Stripes any day. It is the simplest, most intuitive and cleanest action framework out there.


Anyone familiar with Struts 1.x or any other action based framework can be productive with it in 30 mins. I know many people keep harping on the 30 mins, but it is true and not some marketing gimmick.


Do yourself a favor and try out Stripes now.

sj
2007-05-12 07:34:25
Switch to Spring MVC 2 years ago from struts. Never looked back.
Andrew
2007-12-05 21:46:44
I think Stripes should have a lot more traction than it currently has. Maybe it is all the focus on Ruby on Rails and maybe even Grails for that matter... not sure.


But as a Java Developer I urge you to go and try it. Like other developers have mentioned it is by far, and I do mean that, the simplest pure Java MVC framework currently available.

Sameer
2008-07-18 04:49:55
i am working on struts 1.2. I want to switch to struts 2