Is This Content Helpful?
We're glad to know this article was helpful.
The ArcGIS Engine Java API provides Java proxy classes for ArcObjects COM components allowing users to use ArcObjects through the Java programming language.
It is sometimes useful to extend ArcGIS using custom COM components written in a COM compliant language like C++ or Visual Basic and to programmatically access the extensions through Java.
This can be useful in the following cases, among others:
1) Extending ArcGIS Server with custom COM components that make heavy use of fine-grained ArcObjects method calls.
Having a COM component on the ArcGIS Server tier perform the multiple fine-grained ArcObjects method calls leads to a performance boost as multiple round-trip calls from the web-tier to the ArcGIS Server over the network are replaced by a single call to the custom COM component, which in turn makes multiple in-process calls.
2) Integrating legacy or third party components written in a native, COM compliant language, into a GIS application. These components may offer functionality orthogonal to the GIS domain but may need to feature in the workflow of a GIS application, working alongside ArcObjects.
The procedure that is taken depends on the version of ArcGIS that is being used. The instructions provided cover the cases for ArcGIS 9.1 and 9.2.
In ArcGIS Engine 9.2, the Java-COM interop has been integrated into the ArcGIS runtime and explicit support has been added to the ArcGIS Java SDK to generate Java proxies for custom COM components authored in C++.
Java proxies for such ArcGIS extensions can be generated using the Proxy Generator tool (ARCGISHOME/java/tools/proxygen/Proxygen.exe)
Documentation on using ProxyGen is provided in the Java Developer Help.
A developer scenario has also been provided explaining the usage.
The following procedure for ArcGIS 9.1 is provided for informational purposes only and is not a supported workflow and involves purchasing a third-party product.