Developing Java

When you use the built-in JavaCompute node, customize it to determine the exact processing that it provides. To do this, create a Java class file for each node in which you code Java functions, to tailor the behavior of the node. Java files are managed through the Java perspective.

You can add any valid Java code to a JavaCompute node, making full use of the existing Java user-defined node API to process an incoming message. You can use the Java editing facilities of the Eclipse platform to develop your Java code. These facilities include:
  • code completion
  • integrated Javadoc documentation
  • automatic compilation

The Java user-defined node API includes some extra methods that simplify tasks that involve message routing and transformation. These tasks include accessing named elements in a message tree, setting their values, and creating elements, without the need to navigate the tree explicitly.

Use the Debug perspective to debug a message flow that contains a JavaCompute node. When control passes to a JavaCompute node during debugging, the perspective opens the Java debugger, allowing you to step through the Java class code for the node.

This section provides the following information on developing Java:
Related concepts
Message flows overview
Message mappings overview
Related tasks
Developing message flows
Related reference
JavaCompute node
Related information
Java user-defined node API