BT

Your opinion matters! Please fill in the InfoQ Survey!

Struts 2 Goes GA

| by Scott Delap Follow 0 Followers on Feb 26, 2007. Estimated reading time: 2 minutes |

A note to our readers: As per your request we have developed a set of features that allow you to reduce the noise, while not losing sight of anything that is important. Get email and web notifications by choosing the topics you are interested in.

The Apache Struts Team has announced that version 2.0.6 will be released as General Availability (GA). This is an important milestone since GA is the project's highest quality grade. This also marks the first GA release with the integrated WebWork 2 code base. Struts and WebWork merged projects last year. From the release notes the 2.0.6 includes the following features:

Build
  • Easy startup - Jumpstart new projects with our bootstrap tutorial and template application or Maven archetype.
  • Improved Design - Code clean against HTTP-independent framework interfaces.
  • Enhanced Tags - Code less with stylesheet-driven form tags that provide their own markup.
  • Stateful Checkboxes - Avoid special handling with smart checkboxes that know when they are toggled.
  • Flexible Cancel Buttons - Go directly to a different action on cancel.
  • First-class AJAX support - Add interactivity and flexibility with AJAX tags that look and feel just like standard Struts tags.
  • Easy Spring integration - Inject dependencies into Actions using Spring without glue code or red tape. (Plexus support also available.) o Enhanced Results - Do more with specialty results for JasperReports, JFreeChart, Action chaining, and file downloading.
  • POJO forms - No more ActionForms! Use any JavaBean to capture form input or put properties directly on an Action class. Use both binary and String properties!
  • POJO Actions - Use any class as an Action class -- even the interface is optional!

Deploy

  • Easy plugins - Add framework extensions by dropping in a JAR. No manual configuration required! Bundled plugins add support for JavaServer Faces, JasperReports, JFreeChart, Tiles, and more ...
  • Integrated profiling - Peek inside Struts2 to find where the cycles are going!
  • Precise Error Reporting - Flip directly to the location and line of an error.

Maintain

  • Easy-to-test Actions - Test Struts2 Actions directly, without resorting to mock HTTP objects.
  • Intelligent Defaults - Skip obvious and redundant settings. Most framework configuration elements have a default value that we can set and forget. Say it once!
  • Easy-to-customize controller - Customize the request handling per action, if desired. Struts2 only does what you want it to do!
  • Integrating Debugging - Research problem reports with built-in debugging tools.
  • Easy-to-tweak tags - Customize tag markup by editing a FreeMarker template. No need to grok the taglib API! JSP, FreeMarker, and Velocity tags are fully supported.

Version 2.0.6 has minimum requirements of Servlet API 2.4, JSP API 2.0, and Java 5.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

WebWork by Martin Gilday

The featues listed here read almost the same as WebWork2. Still good news for them to have reached GA, so the more innovative features should come in time.

Re: WebWork by Floyd Marinescu

The featues listed here read almost the same as WebWork2. Still good news for them to have reached GA, so the more innovative features should come in time.
Even simply matching WW 2 features I think is good for the community, as there is now a good upgrade path for Struts users to someting better but still 'Struts', and over all its good to have standardization in web framework use in the industry (and I think the merger of the Struts and WebWork communities is quite sizable).

Re: WebWork by George Jiang

Struts 2 or WebWork 3?

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

3 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT