Before you start
You must have a user-defined node written in Java. This can be one of the provided sample nodes described in Sample node files, or a node 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.
You can compile a Java user-defined node either from the command line, or from within the project itself. This topic outlines both options.
When you compile a Java user-defined node on a distributed platform, you need the IBM Software Developer Kit for Java, Version 1.3.1. On z/OS you need the IBM SDK for z/OS Java 2 Technology Edition, Version 1.4.
Use the following procedure to compile your Java user-defined node from the workbench:
Use the following procedure to compile your Java user-defined node from the command line:
On Windows: install_dir\classes\jplugin.jar
On UNIX: install_dir/classes/jplugin.jar
On z/OS: install_dir/classes/jplugin.jar
c:\install_dir\sample\extensions\JavaPlugin
c:/install_dir/sample/extensions/JavaPlugin
c:/install_dir/sample/extensions/JavaPlugin
javac com/ibm/jsamples/nodename.java
jar -cvf nodename.jar com/ibm/jsamples
The .jar file you have created is then ready for you to install on a broker domain (see Installing a user-defined extension on a broker domain) or to package for distribution (see Distributing a user-defined node).
Related concepts
User-defined Input nodes
User-defined message processing nodes
User-defined output nodes
Related tasks
Developing user-defined extensions
Installing a user-defined extension on a broker domain
Testing a user-defined node
Distributing a user-defined node
Related reference
Java user-defined node API
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as10002_ |