ArcSDE 9.3 jars:
File | Description |
jsde_sdk.jar | Contains the ArcSDE Client, and Geometry Java API class files. |
jpe_sdk.jar | Contains the ArcSDE Projection Engine Java API class files. |
concurrent.jar | Provides standardized, efficient versions of utility classes commonly encountered in concurrent Java programming. |
icu4j_3_2.jar | ICU4J libraries required for globalization. |
Steps:
To install and use the latest 9.3 jars (or whatever server you have):
- Instll the ArcSDE SDK
- Choose the option to install "arcsde developers sdk"
- It will copy the jars into C:\\ArcGIS\\ArcSD
lib by default - Open up the command line and navigate to where the jars are
- Type the following maven command:
- To set up your eclipse development environment for testing - go to the root of geotools and type:
- You can also build on the command line:
Setting up the Java API for Direct Connect Using JNI Implementation
In ArcSDE 9.2 and higher, direct connect is supported through a JNI implementation. For a direct connection to work, additional files are required, and the environment variables need to be set accordingly. In this release, the Java API direct connect is only supported in the Windows, Solaris, and Linux platforms. Set the SDEHOME environment variable to the ArcSDE home directory, and include the %SDEHOME%/bin in the PATH environment variable. The following DLLs are required for direct connect support.
File | Description |
sdejavautil.dll | This modules contains the ArcSDE direct connect library functions. |
gsrvr*93.dll | This modules contains the ArcSDE direct connect library functions. |
sde*gsrvr93.dll | This modules contains the ArcSDE direct connect library functions. |
sde.dll | This modules contains the ArcSDE client library functions. |
sg.dll | This modules contains the ArcSDE shape library functions. |
pe.dll | This modules contains the ArcSDE pe library functions. |
xerces*.dll | This modules contains the XML parser library functions. |
icu*.dll | This modules contains the Unicode support library functions. |
参考:http://edndoc.esri.com/arcsde/9.3/api/japi/japi.htm