Hi,
for what concerns the GeoServer REST API, you need that after you have
completed points 1 and 2.
Here you can find some examples using curl to create all the objects you
may need: http://docs.geoserver.org/stable/en/user/rest/examples/curl.html
You can also find examples in some programming
Hii
I want to add a new feature layer in PostGreSQL from open layers.
I got the answer from openlayers forum as...
http://osgeo-org.1560.x6.nabble.com/creating-a-new-layer-in-database-td5089934.html
Using openlayers directly you can't do this:
You need to call from openlayers some server-side