Skip to content

Detailed Workflow for Java Transformer Development

Figure:  Overview of workflow
Step 1
Model
Most of the model values are filled in by default, it is optional to add dependencies.

There are two types of dependencies, both optional. Dependencies added in model will automatically be added to the transformer project.
  1. Server package documents, e.g. when there is a need for using a view in the transformer.
  2. Third party libraries, e.g. when there is a need to use third party that used from the transformer.

Note:   Note: You need to add the dependant server packages to the Application Server node and build, before they can be used in the transformer.


>
>
> Figure:  Third party library


Note:   Note: Third party library specified in the model need to be at 'lib' folder of the transformer project root.


*
Step 2
Initialize
Initialize transformer project for implementation and build by setup project dependencies.

*
Step 3
Implement
Use Test Driven Development (TDD) to implement test and main transformer java files. A skeleton of these files will be generated based on the model in the previous step.


>
>
> Figure:  Create junit test case to assert Input.xml has been transformed into Expected.xml.


*
Step 4
Build
This step will run tests and build the resulting xml, this can then be deployed into the application server with Solution Manager.


>
>
> Figure:  Build output.


*
Step 5
Show Result
This step will open the resulting xml in the editor window, as well as in the Files explorer window.


>
>
> Figure:  Created xml artifact.

Basic Workflow see: Working with Java Transformer Development