Hi Miles, Thank you, great answer! Best regards, -- Lmhelp
On 04/18/2011 7:04 AM, Miles Jordan wrote: > You could use the REST interface. That would just require you to fire off > some HTTP requests to manage datastores/layers/etc: > > http://docs.geoserver.org/2.0.0/user/extensions/rest/index.html > > Regards, > > Miles > >> -----Original Message----- >> From: Lmhelp [mailto:[email protected]] >> Sent: Monday, 18 April 2011 3:08 AM >> To: [email protected] >> Subject: [Geoserver-users] Create data store, layers, >> [SEC=Unclassified] layers group programmatically in Java >> [SEC=Unclassified] >> >> 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
