So you agree with my option (c) then Andrea? I also find it the most clean approach. Jody
On Wed, Apr 8, 2009 at 4:33 PM, Andrea Aime <[email protected]> wrote: > Jody Garnett ha scritto: > >>>> I am looking for a way to integrate into geoserver without special >>>> coding. >>>> Any idea ? >> >> Three Ideas: >> a) patch up the Repository api to match what geoserver has on now; >> hopefully backing it onto that new catalog? This is a lot of work :-( >> May but be the easiest to understand at the end of the day. > > Last time we discussed about the repository API I was > asking it to be removed from gt-main if I my memory serves me right? > I may have to look into it again, but I have negative memories > of it, for sure I'm not looking forward to have GeoServer depend/use it > as a core component. If this can be implemented as a plugin I have > no issues with that, non core plugins are totally hands free. > >> b) go for a single properties file that describes the connection >> parameters for several datastores; use a DataStoreFinder to create >> your own internal datastores; and spend your time ensuring that the >> same connection pool is used by both the geoserver PostGISDataStore >> entry; and your internal PostGISDataStore entry for the same content. > > We already went down this path as we agreed that factories holding > onto connection pools in static variables is not a sane idea. > How else one would manage these? (I mean, besides using contained > managed pools located in JNDI). > > Cheers > Andrea > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. > ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
