Mathieu Coudert ha scritto: > > Let me know how it goes. If that works we can include the datastore > as a GeoServer extension and include it in the official releases. > > > Great, It works! > > However, I visualized data in demo, with Openlayers. But I'm stunned to > see that every action in Openlayers leads to create a new datastore with > my module. > Do you know which method is used to access data once datastore and > featureType are created with GeoServer ? > Thanks for giving me some clues,
This is actually very very odd... GeoServer should gather the FeatureSource out of the datastore once and cache it. Can you put a breakpoint in the code and see what is leading to the creation of another instance of the datastore? Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
