| jst j2ee
wizards api overview | ![]() |
| Intoduction | |
|
|
|
|
The following document provides a high level overview of the J2EE Wizards made available as part of the WTP M2 release. Most of these wizards are meant to be consumed by actions or UI, but facilities are provided to implement your own custom J2EE wizards. |
|
| Overview | |
|
|
|
|
The purpose of the following document is to highlight the API exposed as part of the Web Tools Platform Project for the creation, import, and export of J2EE artifacts. A J2EE artifact is any contained, deployable component that follows the J2EE specification in its structure and content. |
|
|
Each of the three general actions creation, import, and export provides a base class with common functionality which is designed to be exposed as public API. Each of these general classes is then extended for the specific J2EE module types: Enterprise Applications, Application Client Modules, Connector Modules, Enterprise Java Bean Modules, and Web Application Modules. The concrete implementations are not exposed to be extended, only to be consumed. The purpose of these wizards is to facilitate a reference implementation for the entry and exit story for J2EE artifacts. More specialized implementations can extend the general base classes as needed. |
|
The Creation Story |
|
|
Clients that wish to build their own creation wizard can use one of two base classes.
The |
|
|
Clients that are focused on basic J2EE module types (*.jar, *.war, *.rar) and
that use an Operation Data Model based on |
|
|
The subclasses will have the actively selected Enterprise Application module
automatically filled in their Operation Data Model using the
|
|
|
The remaining creation wizard classes are not meant to be extended, but instead provide a reference implementation for clients that only wish to use the wizards in their UI or actions. The following wizards: |
|
|
|
|
define the basic functionality to use their corresponding Operation Data Models and Operations. Clients may use the default constructor to create these wizards, which will cause the Operation Data Model and Operation to be created as needed, or clients may supply an Operation Data Model with some values already set, which will be used to pre-populate widget values in the wizard. |
|
The Import/Export Story |
|
|
The
Import/Export story follows a pattern similar to the creation story. All
general function is encapsulated into a generic base class (
|
|
|
The |
|
|
The |
|
|
The concrete Import/Export wizards may be used by clients that wish to add import/export functionality into their UI or actions, but these classes are not meant to be extended. Any custom wizards should be built using the abstract J2EEArtifact<Action>Wizards. |
|