Install the Design Pattern Toolkit and the ComponentProjects design pattern

The Design Pattern Toolkit (DPTK) is an Eclipse-enabled template engine for generating applications based on customizable, model-driven architecture transformations. WebSphere Commerce uses the DPTK plug-in for creating WebSphere Commerce service modules from a simple XML file. By describing the service module in a specialized XML syntax, the service modules can be generated. This allows one to start directly with the service module implementation without having to spends hours with the setup and configuration of a service module.

To install the DPTK plug-in:

  1. Open your Internet browser and navigate to http://www.alphaworks.ibm.com/tech/dptk.

  2. Click the Download tab and download the com.ibm.dptk.updateSite.3_2_0_1.zip package.

  3. DPTK is packaged as an update site. The installation instructions are listed in the DPTK_install.doc file located inside the downloadable file.

Notes:

DPTK Licensing Restriction

DPTK is licensed under IBM International License Agreement for Early Release of Programs and has a 90-day Evaluation Period. When DPTK is used in conjunction with the patterns provided by WebSphere Commerce to create WebSphere Commerce service modules, the user is granted an "execution only" license for as long as this version of WebSphere Commerce product is supported. This restricted license entitles you to use DPTK to generate the WebSphere Commerce service modules using the patterns provided and deploy them in production. These patterns and generated modules will be fully supported as part of the WebSphere Commerce product as long as they are not modified in any way.

Importing the ComponentProjects design pattern

The ComponentsProject DPTK pattern is the pattern that WebSphere Commerce uses to generate code, template code, and XML to support creating a WebSphere Commerce service module. This pattern is not meant to be extended. Any additional steps on top of the pattern should be handled by a new pattern that would run after the ComponentsProjects pattern. Creating your own DPTK patterns is outside the scope of this documentation -- for information on creating new patterns, see the DPTK documentation. Prerequisites

Before performing this task, ensure you have performed the following tasks:

  1. Installed WebSphere Commerce Developer.

  2. Enabled WebSphere Commerce services

To import the ComponentProjects project into WebSphere Commerce Developer:

  1. Unzip one of the following two zip files to a temporary file location:

  2. Start WebSphere Commerce Developer.

  3. Switch to the J2EE perspective.

  4. Select File > Import.

  5. Select Existing Project into Workspace. Click Next.

  6. Click Browse and navigate to the temporary file location you specified in step 1. Select the ComponentProjects folder. Click OK.

  7. Click Finish.

  8. Next step: Create a WebSphere Commerce service module.

Related concepts

WebSphere Commerce services
WebSphere Commerce service module

Related tasks

Create a WebSphere Commerce service module