杰瑞科技汇

ArcGIS Server Java如何快速上手部署?

Of course! "ArcGIS Server Java" refers to the Java edition of Esri's ArcGIS Server, a core component of the Esri ArcGIS platform for sharing GIS maps, data, and geoprocessing services.

ArcGIS Server Java如何快速上手部署?-图1
(图片来源网络,侵删)

Here's a comprehensive breakdown covering what it is, its architecture, how it compares to the .NET version, and its modern status.


What is ArcGIS Server?

At its heart, ArcGIS Server is a software platform that allows you to create, manage, and publish GIS services. These services make your GIS resources (like maps, locators, and analysis tools) available over the web or a network for use in web applications, mobile apps, and desktop GIS software.

The "Java" edition means the server application itself is built using the Java programming language and runs on a Java Virtual Machine (JVM).


Core Architecture of ArcGIS Server (Java Edition)

The architecture is designed for scalability, reliability, and manageability. It consists of several key components:

ArcGIS Server Java如何快速上手部署?-图2
(图片来源网络,侵删)

a) GIS Services

These are the published resources that clients consume. The most common types are:

  • Map Service: Publishes a map. This is the most fundamental service, used for displaying data in web maps.
  • Image Service: Publishes raster data (like satellite imagery or elevation models) as a dynamic image service. It's optimized for fast rendering of large raster datasets.
  • Geoprocessing Service: Publishes a geoprocessing model or script (e.g., a tool that calculates flood risk or finds the nearest hospital). Clients can send data to this service and get the results back.
  • Geocoding Service: Provides address lookup functionality. You can send an address string and get back its location (latitude/longitude).
  • Geometry Service: Provides utility functions for geometry (e.g., buffering, projecting, finding intersections).
  • Globe Service & Network Analysis Service: More specialized services for 3D visualization and routing analysis, respectively.

b) Site, Services, and Folders

  • Site: A collection of one or more ArcGIS Server machines that work together. A site has a single configuration store and a set of common administrative settings.
  • Services: The individual GIS resources you publish.
  • Folders: A way to organize your services within a site.

c) The Java Web Application (The Core)

This is the heart of the ArcGIS Server Java edition. It's a Java web application (typically a .war file) that you deploy into a Java servlet container like Apache Tomcat.

  • Tomcat: ArcGIS Server is not a standalone server. It relies on an external Java Application Server (Tomcat is the officially supported and bundled one). Tomcat handles the HTTP requests, manages threads, and provides the environment for the ArcGIS Server Java code to run.

d) GIS Server Object Containers (SOCs)

This is a critical concept for scalability.

  • When you publish a service, ArcGIS Server doesn't run the service logic directly within the Tomcat web application.
  • Instead, it creates lightweight Java processes called Server Object Containers (SOCs).
  • These SOCs do the heavy lifting—executing map rendering, geoprocessing analysis, etc.
  • The web application acts as a dispatcher, receiving client requests and passing them to an available SOC process. This separation allows you to have many SOC processes running across multiple machines, all managed by a single site.

e) Administrative and Directory Structure

  • ArcGIS Server Manager: A web-based utility for administering the site, publishing services, and viewing logs. It's the primary user interface for day-to-day management.
  • Services Directory: A simple, RESTful directory of all services in your site. You can access it via a URL (e.g., https://myserver:6443/arcgis/rest/services). This directory provides documentation and allows you to interact with services directly.
  • Configuration Store: A repository (usually a file system or database) that stores all the configuration information for your site, including service definitions, security settings, and machine properties.

ArcGIS Server Java vs. .NET Edition

Historically, Esri offered two editions of ArcGIS Server: one built on Java and one on the .NET Framework. It's important to understand the differences and the current state.

ArcGIS Server Java如何快速上手部署?-图3
(图片来源网络,侵删)
Feature ArcGIS Server Java Edition ArcGIS Server .NET Edition
Platform Runs on any OS with a JVM (Windows, Linux, Solaris). Primarily runs on Windows Server (relied on the .NET Framework).
Web Container Requires a separate Java application server like Apache Tomcat. Was a self-contained application that included its own web server.
Deployment More complex, involving the setup and configuration of Tomcat. Simpler, more streamlined "all-in-one" installation on Windows.
Primary Language Java. C#.
Performance Historically, the Java edition was often praised for its superior performance and scalability on Linux-based server farms. Performance was generally good, but the Java edition was often favored for large, enterprise deployments.
Current Status Deprecated. No longer the primary development focus for new features. Deprecated. Replaced by a unified, cross-platform architecture.

The Modern Era: ArcGIS Enterprise (and the Demise of Separate Editions)

This is the most important point to understand today. Esri has moved away from the "Java vs. .NET" dichotomy.

  • ArcGIS Enterprise: This is the modern, integrated suite that includes ArcGIS Server, along with other components like ArcGIS Data Store and Portal for ArcGIS.
  • Unified Architecture: The current version of ArcGIS Server is now unified and cross-platform. It is built using modern web technologies and can run on both Windows and Linux.
  • No More Java/.NET Choice: When you install ArcGIS Server today, you are not choosing a Java or .NET edition. You are installing a single product that is architected differently. The core server logic is now more service-oriented, leveraging containers and microservices principles rather than the traditional SOC-based architecture of the past.
  • What happened to the old Java server? The technology from the classic ArcGIS Server Java edition has been phased out. The modern ArcGIS Server is a new generation of product, built from the ground up to be cloud-native, containerized (Docker support), and more flexible.

Key Concepts in the Modern ArcGIS Server

Even though the "Java" edition is gone, the concepts it pioneered are still relevant, but with a modern twist:

  • Services: You still publish Map, Geoprocessing, etc., services. The REST API remains the primary way to interact with them.
  • Clustering: Multiple ArcGIS Server machines can still be grouped into a site for high availability and load balancing, but the underlying mechanism is more advanced.
  • ArcGIS Server Manager: The web-based administrative tool still exists and is the main way to manage your site and services.

Summary

  • ArcGIS Server Java was a powerful, cross-platform edition of Esri's server software, known for its scalability on Linux.
  • Its architecture relied on a Java web application (in Tomcat) dispatching work to lightweight Server Object Container (SOC) processes.
  • This "Java vs. .NET" distinction is now obsolete.
  • The current product is ArcGIS Enterprise, which contains a unified, modern version of ArcGIS Server that runs on both Windows and Linux, built with contemporary web and cloud technologies.

If you are working with ArcGIS Server today, you are using the modern, cross-platform version. The legacy Java and .NET editions are considered deprecated technologies.

分享:
扫描分享到社交APP
上一篇
下一篇