Before we move on to writing our WebGIS code, we need to configure a service so we can expose spatial data for a web client to consume.
Our examples are based on GeoServer as it is considered a reference implementation of OGC web standards. Apart from that, GeoServer provides a rather intuitive administration GUI to simplify many server maintenance tasks.
If you happen to not have GeoServer installed, please get it up and running first - you can download the software from here: http://geoserver.org/release/stable/. GeoServer documentation may be obtained from here: http://docs.geoserver.org/.
Installation is rather straightforward and we suggest for the sake of simplicity you use the installation pack wrapped with the Jetty container.
While data service configuration is specific to GeoServer, you can use any alternative GeoServer of your choice, for example, MapServer (http://www.mapserver.org/). If you decide to not use GeoServer and go for an alternative...