There is also a utility class called "GML" with example configurations for common parsing / encoding tasks as another reference point.
Cheers, Jody On Wed, Nov 3, 2010 at 5:17 PM, Andrea Aime <[email protected]> wrote: > Hi all, > if you want to start from scratch I do have a recent implementation of an HTTP > client for a protocol that is somewhat similar to WFS, and it's quite > compact too: > > Have a look in: > http://svn.codehaus.org/geoserver/trunk/src/community/gss/src/main/java/org/geoserver/gss/ > and in particular to: > http://svn.codehaus.org/geoserver/trunk/src/community/gss/src/main/java/org/geoserver/gss/HTTPGSSClient.java > http://svn.codehaus.org/geoserver/trunk/src/community/gss/src/main/java/org/geoserver/gss/HTTPGSSClientFactory.java > > Highlights: > - uses gt-xsd and gets quite a compact code as a result > - uses commons-httpclient to play the role of a well behaved http > client (well, even too much well behaved > with just one connection per host, you can go up to 4-6, beyond that > the client is considered evil ;-) ) > Downsides: > - it is not using the StreamingParser which is needed to handle large > result sets > > However, as a word of caution, I would not develop on gt 2.5.x: the > gt-xsd module has seen quite a bit > of improvements in the meantime and if you find any issue I'm not sure > Justin will be able to help > you back there. Trunk is the place for new developments, that's where > all the developers (and help) > are. > > Cheers > Andrea > > ----------------------------------------------------- > Ing. Andrea Aime > Senior Software Engineer > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584962313 > fax: +39 0584962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ----------------------------------------------------- > ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
