Currently I am programming an upload module for GeoServer 2.1-RC2. The user should be able to upload a shape file which is automatically installed as datastore in the default workspace. For this intention I didn’t want to use the REST-API of GeoServer, I wanted to create the data store programmatically. The following piece of code adds a ShapeFile data store …
GeoServer modules, extensions, interfaces
If want to know how you can write modules, interfaces or extensions for GeoServer, use google and search for “geoserver wicket” – that’s the magic word. You can find a tutorial / howto in the GeoServer Wicket Development Dokumentation.