Before you start
You must have a user-defined node written in Java. This node can be one of the provided sample nodes that are described in Sample node files, or a node that you have created yourself using the instructions in either Creating a message processing or output node in Java or Creating an input node in Java.
The user-defined node classes are stored in this location.
JAR files that are required by the user-defined node are stored in this location. This directory is optional because it might not be necessary to include JAR files.
jar cvf parexample.par classes lib
The PAR should be placed in the LIL path that is specified in Installing user-defined extension runtime files on a broker.
User-defined nodes can be packaged using a simple JAR. For example, if your node is defined in example/jarexamplenode.class, create the JAR by using the jar cvf jarexample.jar example command.
The preferred way to package a Java user-defined node is to use a PAR file, because all dependencies can be packaged with the node, and each node is loaded in a separate classloader. Refer to User-defined node classloading for information on classloading.