Hi all,
I have created an app to draw points, lines and polygons and I save them by creating a wfs-t request. So far so good.
But I’m wondering if it is possible to get a message to the user if a change is made by another user in the meantime.
Is there something like that possible?
Cheers
Met vriendelijke groet, Kind regards,
Kristiaan Geusebroek
Consultant
Xebia Blog: http://blog.xebia.com/
Xebia Podcast: http://podcast.xebia.com/
Kris Geusebroek ha scritto:
Hi all,
I have created an app to draw points, lines and polygons and I save them by creating a wfs-t request. So far so good.
But I’m wondering if it is possible to get a message to the user if a change is made by another user in the meantime.
Is there something like that possible?
Optimistic locking a-la Hibernate is not part of the WFS protocol,
the only lock you can make is the pessimistic kind (lock before
you start for a certain number of minutes).
I think somewhere in the community module land there is an RSS feed
provider that reports back the changes occurred in WFS-T, you could
use that I guess to mimic to some extent optimistic locking.
Cheers
Andrea
<snip>
Optimistic locking a-la Hibernate is not part of the WFS protocol,
the only lock you can make is the pessimistic kind (lock before
you start for a certain number of minutes).
I think somewhere in the community module land there is an RSS feed
provider that reports back the changes occurred in WFS-T, you could
use that I guess to mimic to some extent optimistic locking.
http://svn.codehaus.org/geoserver/branches/1.7.x/src/community/geosync/ if you are interested.
Cheers
Andrea
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.