Stefan - I took a look at your source code, and it looks like you are off to a good start. I was thinking that I might contribute to this regarding some particular tasks that I have been looking into relating to keywords. However I am a little concerned about your use of regex as the basis for locating elements in xml strings. The code is definitely not "self-documenting" - I think I am not alone in finding regex cryptic  - and I wonder how easy it will be to test this, and to maintain it as the schema of the REST xml evolves. (There have already been some changes from previous versions.)

I understand that you want to build a client with no dependencies, but would it really be that much of a burden to use an xml parser? (I agree it is good to have a client that does not depend on Geoserver + Geotools).

I am not very experienced at programming, so maybe regex is often used in dealing with xml, I don't know. Perhaps I just need to get better at decoding regex  :/

Tara



Stefan A. Tzeggai wrote:

Hi,

Yesterday I started a small GPL3 project "Geoserver RESTful configuration Client Java" (gsrcj).

This project uses Java 1.5 and has no extra dependencies! That is the big difference to the rest module found in Geoserver's community-folder (http://svn.codehaus.org/geoserver/branches/2.0.x/src/community/rest/pom.xml), which has dependencies to many Geoserver + Geotools JARs.

The module is very fresh and not ready yet, but support for more REST calls is coming. At the moment one can create a workspace, a (pg) datastore, featuretypes and delete them all again. In the future I will use this library to make Geopublisher and AtlasStyler talk to Geoserver.

If requested, I could write an example for the REST documentation:

http://docs.geoserver.org/stable/en/user/extensions/rest/rest-config-examples.html

GSRCJ is hosted at http://code.google.com/p/gsrcj

Hudson Continuous Integration for GSRCJ is running at http://www.wikisquare.de:8080/hudson/job/gsrcj-trunk

To use GSRCJ in your maven project, see http://code.google.com/p/gsrcj/wiki/MavenSetup

The project is open.. feel free to use, help, test or commit.

Steve

--

Stefan Tzeggai (geb. Krüger)

email [email protected]

webpage wikisquare.de

twitter http://twitter.com/geopublishing

skype alfonx

reclaim your net - http://tor.eff.org

enforce privacy - http://www.pgpi.org

pgp key id: 51B576FD - http://pgp.mit.edu

Please note that according to the German law on data retention,

information on every electronic information exchange with me is

retained for a period of six months.


------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users


-- 
Tara Athan
Owner, Athan Ecological Reconciliation Services
tara_athan at alt2is.com
707-272-2115 (cell, preferred)
707-485-1198 (office)
249 W. Gobbi St. #A
Ukiah, CA 95482



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to