XWork is a generic command pattern framework. It was split out of WebWork 1.x and forms the core of WW:WebWork 2.0. It features:

  • Flexible and customizable configuration based on a simple Configuration interface, allowing you to use XML , programmatic, or even product-integrated configuration
  • Core command pattern framework which can be customized and extended through the use of interceptors to fit any request / response environment
  • Built in type conversion and action property validation using OGNL
  • Powerful validation framework based on runtime attributes and a validation interceptor

Useful links:

In addition to the documentation, it might be useful to see Rickard Oberg's thoughts on the future directions of XWork, especially as it relates to Portal development

XWork-Optional

XWork optional is a repository where optional modules for XWork may be created. Just about anyone can get developers access to this repository and is encouraged to use this area as a staging zone for developing projects based upon XWork. Currently a mail dispatcher project is there which uses a mail folder to dispatch actions for processing the emails. For download instuctions code go to https://xwork-optional.dev.java.net/servlets/ProjectSource