GeoServer has a REST API which can be used to add, remove, and modify
configuration elements remotely (via HTTP).  The REST API is documented at
http://docs.geoserver.org/stable/en/user/restconfig/index.html and there is
a Java client API in the SVN repository at
http://svn.codehaus.org/geoserver/trunk/src/community/restconfig-java/

This client library may still have some issues, I haven't used it myself.

--
David Winslow
OpenGeo - http://opengeo.org/

On Sun, Apr 17, 2011 at 1:08 PM, Lmhelp <[email protected]> wrote:

> Hi list,
>
> Thank you for reading my post.
>
> I have downloaded GeoServer WAR file.
> "http://localhost:8080/geoserver/"; works well.
>
> I am using a PostGIS database D with two tables T1 and T2.
>
> With the GeoServer Web client administration tool
> (http://localhost:8080/geoserver/) :
> (STEP 1)
> - I have created a store S "coupled with" D.
> - I have added two layers L1 and L2 respectively "coupled with" T1 and T2.
> - I have created a layers group G containing the two layers L1 and L2.
>
> (STEP 2)
> I have clicked "Layer Preview" and then I have chosen "OpenLayers" for G:
> it works well.
>
> My question is the following:
> I want to do STEP 1 programmatically (in Java).
> What JAR files do I have to use/add to my (Eclipse) project?
> What classes, interfaces... will allow me to do STEP 1?
> Can you advise me a tutorial, code example or a book?
>
> Thank you.
> Sincerely,
> --
> Lmhelp
>
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to