This topic explains the design principles behind Java extensions in the ArcGIS Enterprise SDK, including its architecture, supported APIs, differences from the legacy ArcObjects SDK, and migration considerations.

SDK Architecture and Migration

The ArcGIS Enterprise SDK is a separate software development kit with its own architecture and APIs, rather than an updated version of the ArcObjects SDK. It supports the development of server object extensions (SOEs) and server object interceptors (SOIs) for ArcGIS Server services published from ArcGIS Pro.

The ArcObjects SDK was designed for several ArcGIS products, including ArcGIS Server, ArcGIS Desktop, and ArcGIS Engine. Although this design made it possible to reuse some code across products, its broad scope also introduced complexity. In contrast, the ArcGIS Enterprise SDK focuses on APIs relevant to server-side extension development.

The ArcGIS Enterprise SDK retains familiar concepts and some API patterns from ArcObjects to help developers migrate existing SOEs and SOIs. However, it is not a drop-in replacement. Differences in available libraries, interfaces, and methods may require code changes.

API and Library Design

The Java extension APIs focus on three areas: accessing GIS data, working with map services, and extending ArcGIS Server functionality. The Geodatabase, Carto, and Server libraries provide much of this functionality, while supporting libraries such as Geometry and System provide core types and operations.

Geodatabase and Server Libraries

The Geodatabase and Server libraries preserve many concepts familiar to ArcObjects developers. However, the ArcGIS Enterprise SDK does not provide every ArcObjects class, interface, or method. Developers should review API availability and update their implementations as needed during migration.

Carto and Map Service APIs

The Carto library has been streamlined to focus on supported ArcGIS Server workflows. Legacy ArcObjects map service interfaces, including IMapServer2, IMapServer3, and IMapServer4, are consolidated into the IMapServer interface in the ArcGIS Enterprise SDK. Code that uses legacy interfaces must be updated to use the supported API.

The SDK also excludes APIs intended primarily for desktop user interfaces. For example, esriLayerEventHint, which supported layer interaction in ArcMap and ArcGIS Engine, is not included because it is not applicable to server-side extension workflows.

Libraries Not Included in the SDK

The ArcGIS Enterprise SDK does not include every library available in the ArcObjects SDK. Desktop-oriented libraries, such as those used for ArcCatalog and ArcScene, fall outside the scope of server-side extensions.

Other APIs are omitted where ArcGIS Server already provides a supported service-based approach. The following sections describe two examples: printing and geoprocessing.

Printing

Legacy ArcObjects SOEs sometimes implemented custom printing functionality. For new applications, developers should consider using ArcGIS Server printing services, which support printing maps published from ArcGIS Pro and can be accessed by compatible client applications.

Using a printing service can reduce the need to implement and maintain custom printing logic in an SOE.

Geoprocessing

The ArcGIS Enterprise SDK does not include the ArcObjects geoprocessing APIs. Developers cannot use those APIs to execute geoprocessing models directly within Java SOEs or SOIs. Instead, publish geoprocessing workflows as geoprocessing services and invoke them using supported service interfaces.

Geoprocessing services support synchronous and asynchronous execution. Synchronous execution may be appropriate for short-running operations. For longer-running workflows, asynchronous execution allows clients to submit a job, check its status, and retrieve results when processing is complete.

Long-running synchronous SOE operations can be affected by network, proxy, and application timeouts. Consider execution time, resource usage, and client requirements when deciding whether to implement custom logic in an SOE or use a geoprocessing service.

Supported Extension Types

For Java server object customization, the ArcGIS Enterprise SDK supports SOEs and SOIs. Unlike the legacy ArcObjects SDK, it does not provide extension types such as plug-in data sources or geodatabase class extensions.

If your existing extension depends on unsupported functionality, evaluate alternative ArcGIS Server capabilities and supported APIs before migrating it.

Migration Considerations

Migrating an ArcObjects-based Java SOE or SOI may involve replacing unsupported interfaces, updating code that uses legacy map service APIs, and moving the project to Maven-based dependency management.

For step-by-step guidance, see Migration strategies and Migration steps.

Also See

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.