BT

InfoQ Homepage News Struts 2 Goes GA

Struts 2 Goes GA

Bookmarks
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
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.

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

Community comments

  • WebWork

    by Martin Gilday /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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 /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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 /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Struts 2 or WebWork 3?

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.