How to use
See How to run the Java Server ADF Samples for help running the sample.
ArcGIS Server Simple
- There are two ways to build this sample: you can use either ArcGIS Ant or the Eclipse plug-in. To use Ant, at the command line, browse to %AGSDEVKITJAVA%\java\samples\ags_simple, type arcgisant build, and 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 to Tomcat.
- The other way to build the sample is to use Eclipse. Open Eclipse, File>New Project>ESRI Templates>Web ADF Samples.
- Choose ArcGIS Server Simple.
- Use the wizard to finish building the sample.
- Run the sample web application on the server.
- You can also export the application as a .war file and deploy it to other supported application servers.
- After deployment, access the sample by typing the uniform resource locator (URL) (for example, http://[host]:[port]/[samplename]) in a web browser.
| Development licensing | Deployment licensing |
|---|---|
| Server | Server |