Adding Java code dependencies
When you write Java™ code for a JavaCompute node, you can include references to other Java projects and JAR files.
Before you begin
To complete this task, you must have completed the following tasks:
- Add a JavaCompute node to your message flow.
- Create Java code for a JavaCompute node.
About this task
The Java code in a JavaCompute node might contain references to other Java projects in the Eclipse workspace (internal dependencies), or to external JAR files, for example the JavaMail API (external dependencies), or a set of JAXB Java object classes (internal or external). If other JAR files are referenced, you must add the files to the project class path.
See Using JAXB with a JavaCompute node for an example of a project using Java objects generated by the JAXB binding compiler.
Procedure
Results
You have now added a code dependency.