How to export Java SOEs with dependencies

This topic discusses how to export a Server Object Extension that depends on 3rd party jars, using the Eclipse IDE "Export SOE" wizard.

ArcGIS Server supports Server Object Extensions that depend on or use libraries that reside in separate jar files. Examples of such dependencies are 3rd party libraries or components of the SOE itself that reside in separate jar files. Such dependencies can be bundled into the .soe file using the “Export SOE” Eclipse IDE wizard, as follows.
  1. Ensure that JDK version 1.6.41 or above is installed on your computer and that <JDK HOME>/bin is added to the PATH environment variable.
  2. Ensure that the ArcObjects Java SDK is installed on your computer and that ArcObjects plugins are installed into the Eclipse IDE that you are using.
  3. Start Eclipse and open the project that contains your Java SOE.
  4. Create a folder called “lib” in the Eclipse project.
  1. Place all jar files that your SOE depends on, in the “lib” folder and add these jars to the project’s build path.
  1. Create a manifest file to hold class-path information for the SOE.
  1. Export the SOE after SOE development is complete. To do so, open the “Export SOE” wizard by right clicking on your Eclipse project and selecting ArcGIS -> Export SOE….
  1. On the “JAR File Specification” page, check the “lib” folder and all jar files that the SOE depends on.
  1. Click the Next button twice to reach the “Jar Manifest Specification” page. Check the “Use existing manifest…” check box and browse to the manifest file you created earlier.
  1. Select the manifest text file and click OK.
  1. Click Finish.
  2. Deploy the SOE to ArcGIS Server and verify it is functioning correctly.

Development licensingDeployment licensing