Running the Samples

Section - Java Deployment

Transformation Manager is supplied complete with a set of samples in the directory "samples\\deployment\\examples". (This is a relative path from the TM install directory - thus if you have chosen to install TM in "X:\\TM" then the complete path is "X:\\TM\\samples\\deployment\\examples").

To run the samples you will need to follow the following steps:

  1. ETL_BasicXMLErcHandler_1_0.jar
  2. ETL_GenericToJava_1_0.jar
  3. ETL_JavaToGeneric_1_0.jar
  4. ETL_JavatoJavaEmbededXML_2_0.jar
  5. ETL_JavaToJavaWithError_2_0.jar
  6. ETL_JavaToJava_2_0.jar
  7. ETL_JavaToJDBC_2_0.jar
  8. ETL_JavaToXML_2_0.jar
  9. ETL_JDBCToJavaFilter_1_0.jar
  10. ETL_JDBCToJava_2_0.jar
  11. ETL_LLJavatoJavaEmbededXML_1_0.jar
  12. ETL_XMLToJava_3_0.jar
  13. ETL_XMLtoXML_1_0.jar
  1. Set the source path to something like "X:\\TM\\samples\\deployment\\examples"
  2. Add the packages "examples" and "examples.tgt" and "examples.src" to your product. 
  3. Ensure that the libraries include both ofetsr.jar and the generated jar files listed above.
  4. Generate and run the Java code. Running in the JBuilder debugger is highly recommended as it allows you to focus in on items of interest.