Select to view content in your preferred language

"Direct Connect" support for ArcSDE schema's through the Java API's

5360
7
06-18-2014 10:00 PM
DanielHarvey
Deactivated User
Hi,
We are trying to access an ArcSDE schema inside a SQL2008 database using "Direct Connect". However, we are unable to get this working because we cannot locate the required dependencies. We have followed instructions from:
http://help.arcgis.com/en/geodatabase/10.0/sdk/arcsde/api/japi/japi.htm

We have downloaded all the related packages, including SDK's, ArcGIS Engine components, and service packs. But we are still not able to locate some of the dependencies, specifically:
  * jsde_sdk.jar
  * jpe_sdk.jar
  * libsdejavautil.so

Is there a package which simply contains all the required dependencies to establish a "Direct Connect" connection through the ESRI API? Is there any additional documentation on Direct Connect connections through the API's?
0 Kudos
7 Replies
SachinKanaujia
Deactivated User
Is you have ArcSDE setup then you should be able to get the jar files from the location you setup you ArcSDE. The libraries should be under $SDEHOME/lib.

Hope this helps !!
0 Kudos
DanielHarvey
Deactivated User
Thanks for your help, but there is no "lib" directory in our ArcSDE 10.1 installation (Windows 64 bit).
Not sure what I would need to install to make the "lib" directory appear. We have downloaded all the development kits and downloads remotely related and inspected them to see if they contained the missing files, but alas.....
What would you normally need to install for the "lib" directory to appear?
0 Kudos
RichardFisher
Occasional Contributor

I too am looking for the same jar files for 10.2.2 and the answers I see are not clear.

There are some hints that it is a special request to download.

There are some hints that after 10.1 it all goes away .. not no reference to what replaces it.

I have installed the Java SDK and there is no record of these jar files.

I assume that the API has changed from what is below the 10.0 reference info: ArcSDE Java API

Have these Jar files been discontinued and are no longer needed to connect to SDE

and direct JDBC connection enough to do the same job now for many other java GIS applications and servers?

What is the 10.2.2 or 10.3 answer to interacting with non-ArcGIS Server java apps and generic servers and SDE / Oracle / with out them?

Setting up the Java API

During ArcSDE client installation, the following files are installed:

FileDescription
jsde_sdk.jarContains the ArcSDE Client, and Geometry Java API class files.
jpe_sdk.jarContains the ArcSDE Projection Engine Java API class files.
concurrent.jarProvides standardized, efficient versions of utility classes commonly encountered in concurrent Java programming.
icu4j_3_2.jarICU4J libraries required for globalization.
0 Kudos
VinceAngelo
Esri Esteemed Contributor

I too am looking for the same jar files for 10.2.2 and the answers I see are not clear.

There are some hints that it is a special request to download.

Not download, it's physical media.

There are some hints that after 10.1 it all goes away .. not no reference to what replaces it.

It's not a hint -- the 'C' and Java APIs are formally deprecated.

I have installed the Java SDK and there is no record of these jar files.

Which Java SDK did you install?  There are several which are not the ArcSDE Java API.
The part number at the time was posted in the former Forums, linked here.

What is the 10.2.2 or 10.3 answer to interacting with non-ArcGIS Server java apps and generic servers and SDE / Oracle / with out them?

The APIs are deprecated at 10.2.2, but will be unavailable at 10.3.  The API itself won't fully

disappear for a while (it is still available to Esri core developers, since ArcObjects uses it to

access enterprise geodatabases).  An exact replacement hasn't been announced; the focus

of 10.2/10.3 tool development has been to replace all the command-line tools with Python

replacements. Since the UC is just around the corner, I expect there will be more information

soon.

- V

0 Kudos
RichardFisher
Occasional Contributor

- V Thanks for the info.

RE: Which Java SDK did you install?  There are several which are not the ArcSDE Java
API?

I was given ArcGIS Runtime SDK 10.2.3 for Java 10.2.594 to install.

Maybe based on your note back that it is a special request to get the media?

0 Kudos
VinceAngelo
Esri Esteemed Contributor

Yeah, Runtime isn't the ArcSDE Java API (different products).

0 Kudos
RavindraSingh
Frequent Contributor

If you would like to access ArcSDE data in ArcGIS Runtime.

Then you can create gpk(Geoprocessing package) and then you will have access of data in SDE. But limited functionalist only.

0 Kudos