Displaying maps and making geoprocessing - ArcGIS Server for Java

Discussion created by tarekesri on Sep 13, 2011
Recently I have started using arcobjects 10 for java to connect to arcgis server and develop web services. I use Eclipse to develop java code.

I could connect to the server and open a map document (.mxd), using ServerConnection and MapDocument classes. Now, I would like to display such a map document on a browser, and geo-process it.

Does anyone have a complete example or a link that I can follow to develop a complete java code to connect to a server, display maps and make a geoprocessing (example: add a feature to the map)?