Deploying Adapters on the X4 Server
The compiled adapter classes and any required libraries to integrate the complete adapter package into the X4 Server configuration are provided in the application server as a Java archive (.jar file).
The example project from the ADK package already includes the corresponding Maven build that creates the JAR file and descriptors in the expected directory structure.
How to deploy an adapter to the X4 Server
Run Maven clean install.
Unzip the generated
target/adk-examples-1.0.0-SNAPSHOT-wildfly-module.zipZIP file in theX4\Server\wildfly\modules\de\softproject\x4\adapter\folder.In the
X4\server\wildfly\modules\en\softproject\plugins\main\module, add a reference to the adapter's own module.Restart the X4 Server.
The adapter can now be selected from the adapter list and used in X4 processes the next time you connect the X4 Designer with the X4 Server.