Current version: 12.2 - See What's new in 12.2.
This topic provides an overview of Java extensions developed using the ArcGIS Enterprise Software Development Kit (SDK), including their key features, core libraries, limitations, and migration considerations.
The ArcGIS Enterprise SDK enables developers to extend and customize ArcGIS Server services using Java. It provides libraries, samples, documentation, and project templates for developing and deploying custom server-side functionality.
Java extensions support map services and image services published from ArcGIS Pro, depending on the extension type and capabilities supported by the target ArcGIS Enterprise version.
For more information about the architecture and fundamental principles of the SDK, see Design philosophy.
Essential Features
With the ArcGIS Enterprise SDK, you can extend ArcGIS Server map service with custom logic that can be invoked from ArcGIS or from custom clients. There are two ways to extend these service types:
-
Server object extensions (SOEs) enable developers to create custom service operations that extend the functionality of ArcGIS Server services. SOEs are useful for implementing specialized business logic or GIS operations that are not available through standard ArcGIS client APIs. SOEs can expose custom operations through REST or SOAP endpoints, allowing custom client applications to access server-side functionality.
-
Server object interceptors (SOIs) enable developers to intercept and customize existing service operations without modifying the client applications that consume them. SOIs can inspect, modify, or filter incoming requests and outgoing responses. Common use cases include access control, request validation, auditing, and custom processing. SOIs can work with requests from applications built using ArcGIS Maps SDKs and other supported clients.
Java Extension Libraries
The ArcGIS Enterprise SDK provides Java libraries containing classes and interfaces for developing server object extensions (SOEs) and server object interceptors (SOIs). The following table summarizes these libraries and their primary functionality.
For detailed information about available classes, interfaces, and methods, see the ArcGIS Enterprise SDK Java API reference.
| Library | Description |
|---|---|
| Carto | Provides interfaces for working with map services, including layers, tables, map extent, scale information, and underlying service data. |
| CartoX | Provides interfaces for working with annotation and dimension feature classes. |
| Cartox.CIM | Provides classes and interfaces for working with Cartographic Information Model (CIM) objects, including symbols composed of strokes, fills, and markers. |
| DataSourcesFile | Provides access to file-based data sources, including shapefiles, TINs, and CAD files. It allows developers to open datasets independently of those referenced by a service. |
| DataSourcesGDB | Provides access to file geodatabases, SQLite databases, and enterprise geodatabases, including data sources not referenced by a service. |
| DataSourcesRaster | Provides interfaces for accessing and working with raster data, including raster datasets not referenced by a service. |
| Geodatabase | Provides classes and interfaces for accessing and managing geographic datasets, including features, tables, and raster data. |
| GeodatabaseDistributed | Provides interfaces for distributed geodatabase functionality, including capabilities used in certain Web Feature Service (WFS) workflows. |
| GeodatabaseExtensions | Provides classes and interfaces for working with specialized geodatabase datasets, including terrain datasets and cadastral fabrics. |
| Geometry | Provides classes and interfaces for creating, accessing, and manipulating geographic geometries. |
| GISClient | Provides interfaces for accessing and interacting with remote GIS services. |
| Server | Provides interfaces for accessing ArcGIS Server objects, retrieving server information, and performing supported server operations, including logging. |
| Server.JSON | Provides classes and interfaces for creating, parsing, and manipulating JSON data in Java SOEs and SOIs. |
| System | Provides fundamental classes and interfaces used by other SDK libraries, including functionality for handling REST and SOAP requests. |
Protocol Buffer Format (PBF) Support
The ArcGIS Enterprise SDK also includes arcgis-pbf.jar, a Java library for working with Protocol Buffer Format (PBF) data in SOEs and SOIs. This library provides helper functions for encoding and decoding PBF content, allowing developers to process PBF-formatted feature service data.
The arcgis-pbf.jar library was introduced in ArcGIS Enterprise SDK 12.0 and is automatically added to the local Maven repository during SDK installation.
For more information, see What's new in 12.0.
Migrating Existing Extensions
You can migrate existing extensions developed using ArcObjects .NET or Java SDK into the ArcGIS Enterprise SDK.
Refer to the Migration strategies section on how to migrate extensions developed using ArcObjects Java SDK into the ArcGIS Enterprise SDK.