Why dont you use WFS-T in geoserver. You know a transactional Web Feature Service (WFS-T) allows all CRUD Operations as creation, deletion, and updating of features. I know that GeoServer supports WFS-T which they have told in wikipedia as:
In addition, one can edit data via the WFS transactional profile (WFS-T).
and in reference page you can find sth:
The Transaction operation performs edits of actual data that is
exposed by the WFS. A transaction can add, modify and remove features.
Each transaction consists of zero or more Insert, Update and Delete
elements. Each element is performed in order....
and the last thing if you search any tutorial about how can you achieve WFS-T operation, you should read OpenLayers WFS-T Using a GeoServer Hosted PostGIS Layer which realy giving excellent information about what you search...
From that site, maybe this is important before reading.
This is an advanced OpenLayers tutorial which explains how to setup
your own WFS-T example using a combination of GeoServer and
PostgreSQL/PostGIS. In order to complete this tutorial, a user must
have administrative access to both GeoServer and PostgreSQL running on
a server. Users must also have an intermediate understanding of
programming OpenLayers for developing web mapping applications.
I hope it helps you...