Common deployment framework
The common deployment framework enables you to implement plug-ins that add steps to default Java EE application management operations such as install, uninstall, edit and update.
Use the framework, we can implement management operations on specific types of deployable contents. For example, the deployable contents might include EAR, WAR, JAR or other Java EE modules and the management operations might include install and uninstall. Each operation is divided into a number of steps. For example, the install operation has steps for EJBDeploy and JSP compilation, among others. Using the common deployment framework, we can add steps to the default logic for Java EE operations.
WAS ND v7.0 supports framework plug-ins that extend deployment of EAR files.
An EAR file has operations such as createEarWrapper, installApplication, uninstallApplication and editApplication. Using a framework plug-in, we can add steps to default install operations that support, for example...
- creating additional configuration artifacts in a configuration session
- modifying an input EAR file using code generation
- additional validating of input parameters
To extend application management operations using the framework, a plug-in must do the following:
- Implement each step.
A step runs logic that performs an operation.
A step can access the deployment context and the deployable object. The deployment context provides information such as...
- operation name
- configuration session identifier
- temporary location for creating temporary files
- operations parameters
A step is added by the extension provider.
- Implement an extension provider that adds each implemented step.
An extension provider is a class that provides steps for an operation on a given type, the EAR file type.
- Register the plug-in with a WAS server.
The plug-in is implemented as an Eclipse plug-in and is placed in...
APP_ROOT/pluginsAdd the extension point for the extension provider in...
META-INF/plugin.xml
...within the plug-in JAR file.
Related concepts
Enterprise (Java EE) applications
Related tasks
Extending application management operations through programming