ArcIMS Simple


Purpose
This sample is a simple map viewer using ArcIMS data source, the application has a map and three buttons, zoom in, zoom out and full extent.
 

How to use

See How to use ArcGIS samples for help on running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

ArcIMS Simple
  1. This sample is a simple map viewer using ArcIMS data source, the application has a map and three buttons, zoom in, zoom out and full extent.
  2. Create the SantaClara ArcIMS Image service using the SantaClara.axl file. The SantaClara.axl file is included as a sample in the ArcIMS install (the SantaClara.axl file is included in the Typical and Complete installs or can be selected to be installed during a Custom ArcIMS installation by checking the Tutorial Data box; it is installed to $AIMSHOME/Samples/TutorialData/AXL.)
  3. There are two ways to build the sample. You can either use ArcGIS Ant or Eclipse plugin. To use Ant, at command line, browse to %AGSDEVKITJAVA%\java\samples\aims_simple, type arcgisant build, follow the command prompt to finish the build. There will be a directory called build under the sample root folder, inside there will be a war file. Deploy the war file into Tomcat.
  4. The other way to build the sample is to use Eclipse. Open Eclipse, File - New Project - ESRI Templates - Web ADF Samples.
  5. Choose the ArcIMS Simple
  6. Go through the wizard to finish building the sample.
  7. Run the sample web application on server.
  8. You can also export the application as war file and deploy to other supported application server.
  9. After deployment access the sample by typing the URL (e.g. http://[host]:[port]/[samplename]) in a web browser.


Download the files for Java
map.jsp The page with a map, overview and toc controls
faces-config.xml Configuration file that describes the resources and functionalities for the application




Development licensing Deployment licensing
Server Server