Installing and running the Custom Rest Service – Mapservice legends sample

I recently saw that there has been lots of discussion on the custom rest service legend sample posted on the code gallery in terms of getting the sample up and running successfully. If you have no clue on what I am talking about, here is the link.

This post should help you get the sample running in no time (almost):

I am using Eclipse (screen-shots show version 3.4/Ganymede, 3.3/Europa should work as well) as my IDE and ArcGIS Server 9.3.1 Java ADF libraries.

1. Download the sample on to the disk:


Read the rest of this entry »


Minify JavaScript and CSS files in IDE – netbeans and eclipse

This post talks about how to go about minifying the javascript and css files directly from your IDE (Eclipse and Netbeans) using the YUICompressor and YUIAnt jar files.

Before we look into more specifics you will have to download these two:
1. YUICompression jar from the Yahoo developer site, here are the links : More InfoDownload
2. YUIAnt jar file from this link
Read the rest of this entry »

Deploying Java Web ADF application on Jetty

Recently I installed and successfully deployed a ESRI ArcGIS Server based Java Web Mapping application on Jetty 6.1.14

Though Jetty is not officially supported deployment container, since its standards based it works without any issues.

For starters, if you are new to Jetty or if you are looking for an alternative to Tomcat find out more on Jetty at
Read the rest of this entry »