Commons Chain modules Commons Documentation Team

The Core module is the main Commons-Chain2 module which contains principal definitions of interfaces and basic implementation. This module is necessary to work with the component.

Apache Maven users can import the Core module simply by declaring the following dependency:

... ${project.groupId} commons-chain2-base ${project.version} ... ]]>

The Configuration module is an auxiliary module which is able to create chains from XML configurations.

Configuration APIs are included in the org.apache.commons.chain2.config package.

Apache Maven users can import the Configuration module simply by declaring the following dependency:

... ${project.groupId} commons-chain2-configuration ${project.version} ... ]]>

The Web module is an auxiliary module which is able to create chains inside a Servlet container, in a Portlet or embedded in a Faces application.

Web APIs are included in the org.apache.commons.chain2.web package.

Apache Maven users can import the Web module simply by declaring the following dependency:

... ${project.groupId} commons-chain2-web ${project.version} ... ]]>

NOTE Web module dependencies are not transitives since they are scoped as provided, users have to take care to included which of them are needed for their runtime environment.