This document was published with ArcGIS 9.3.
The ArcGIS Server Plug-ins for Eclipse provides several templates and projects to help you quickly get started building applications and running samples. If you have not already installed the plug-ins, refer to the Installing ArcGIS Plug-ins document.
 

Creating An ArcGIS Web Project

 
You will start by creating an ArcGIS Web Project using Eclipse.  This sample ArcGIS Map Application displays a map, toolbar, table of contents, map overview, results, results details, and an empty task pane. 
 
The following steps detail how to create an ArcGIS Server for Java web application project in Eclipse:  
 
  1. Create an ArcGIS Web Project.  From the Eclipse main menu, select 'File->New->Project'.
 
 ArcGIS Web Project Guide
 

 2.  Navigate the New Project wizard to ESRI Templates and select 'ArcGIS Web Project' from the list and click Next.

 

ArcGIS Web Project Guide

 

    3.  In the Dynamic Web Project dialog, name your project, select your target runtime, and choose 'ArcGIS Web Project' from the Configurations drop down.  Click Next. 

 
 ArcGIS Web Project Guide
 

   4.  In the Project Facets dialog, ensure that the ArcGIS facet is checked and click Next. 

 
 
 ArcGIS Web Project Guide

    5.  Accept the default settings in the Web Module dialog and click Next. 

 
 ArcGIS Web Project Guide
 

   6.   In the ArcGIS Web Project dialog, double click the Add GIS Server icon under Available Services.

 

ArcGIS Web Project Guide

 

    7.   Input valid server information for the GIS Server Host, User Name, Password, and Domain.  If you set up your preferences from the toolbar menu at 'Window->Preferences->ArcGIS->Server'.  The connection information set there will be used by all ESRI project windows. 

 

ArcGIS Web Project Guide

 

   8.  Click the OK button to connect to the GIS Server and see a list of valid server objects.  Double click on the server object you wish to use and the object will be added under Selected Services on the right hand side.  Click Finish to build the project. 

 
 ArcGIS Web Project Guide
 

    9.   The workbench will now show your newly created ArcGIS Web Project in the Java EE perspective.

 

ArcGIS Web Project Guide

 
  1. Your application is now ready for deployment in a supported web application server. 
 
 




<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript"></script>

相关文章: