How to get ServerContext in ArcGIS10.1 Server for java?

Discussion created by velagaece07 on Sep 4, 2012
Latest reply on Sep 12, 2012 by ahoque-esristaff
In ArcGIS10 i was able to get servercontext using local connection. But in Arcgis10.1 server has no support for local connections. So how can i get servercontext object in ArcGIS10.1 Server for java