JBI Component development (Part 9)
By Christophe Vaille on Oct 30, 2008
JBI shared library
1. the JBI shared library
The last step is the packaging of a couple of jar files:
Generic JAR files:
- LIBMapping.jar (Implementation of the IMapper interface)
- WSDLParser.jar (Parsing any WSDL file)
Specific JAR file associated to a specific library:
- JNIWrapper.jar (specific code: JNI wrapper code using MyLib C)
- JNIMapper.jar (specific code: Implementation of the Mapper to call the library JNIWrapper)
These four jars will be packaged in a JBI shared library as a a se-mapper-library and deployed on JBI.
A JBI shared library is a zip or jar file that contain the four jar files and a jbi.xml descriptor.
The illustration below shows the jbi.xml descriptor for the se-mapper-library:
The illustration below shows the deployed shared library as a se-mapper-library: