Interesting. Looks like spring is supported 
(http://www.springsource.org/node/2595). So if Java Factory SPI is really dead 
on google app engine it is going to be pretty annoying (that is how java itself 
wires in new image format support?). 

I was asking about a code sprint at foss4g; busting open a "lookup" interface 
for GeoTools would indeed be a great idea; I will go chase it up on the devel 
list.

Jody

On 26/08/2010, at 11:00 PM, Balint Persics wrote:

> Hi,
> 
> The equinox OSGi runtime can be bridged with GAE with some
> restrictions. See:
> http://eclipsesource.com/blogs/2009/04/10/osgi-on-appengine/
> and http://drop.io/appengine/
> 
> 
> On Thu, Aug 26, 2010 at 02:19, Jody Garnett <[email protected]> wrote:
>> Which is what I was talking with Justin about today :-)
>> 
>> (well actually we want to use Spring or OSGi a bit more smoothly; but a side 
>> effect would be an alternative to SPI). Fred do you know if Spring or OSGi 
>> works on google app engine?
>> 
>> Jody
>> 
>> 
>> On 26/08/2010, at 2:47 AM, Andrea Aime wrote:
>> 
>>> Fred Messinger (fredm) ha scritto:
>>>> Hi,
>>>> 
>>>> I'd like to incorporate reading shape files into a servlet running on
>>>> google's AppEngine.  Unfortunately, there are some classes in geotools
>>>> that are not on their white list.
>>>> http://code.google.com/appengine/docs/java/jrewhitelist.html
>>>> 
>>>> My code runs fine as a standalone java app, but when I run it as an
>>>> AppEngine web app, complains with the following:
>>>> 
>>>> java.lang.NoClassDefFoundError: javax.imageio.spi.ServiceRegistry is a
>>>> restricted class. Please see the Google  App Engine developer's guide
>>>> for more details.
>>>> 
>>>> I'm using the jars from geotools-2.6.5-bin.zip
>>>> 
>>>> Is there a way to build the jars without the javax.imageio... classes?
>>> 
>>> I fear it's not possible... spi is the one and only GeoTools plugin
>>> system, it's the backbone of the entire library, every pluggable class
>>> is looked up using it.
>>> 
>>> I guess that in order to avoid this issue we'd need... a pluggable
>>> plugin system ;-)
>>> 
>>> Cheers
>>> Andrea
>>> 
>>> 
>>> --
>>> Andrea Aime
>>> OpenGeo - http://opengeo.org
>>> Expert service straight from the developers.
>>> 
>>> ------------------------------------------------------------------------------
>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>> Be part of this innovative community and reach millions of netbook users
>>> worldwide. Take advantage of special opportunities to increase revenue and
>>> speed time-to-market. Join now, and jumpstart your future.
>>> http://p.sf.net/sfu/intel-atom-d2d
>>> _______________________________________________
>>> Geotools-gt2-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>> 
>> 
>> ------------------------------------------------------------------------------
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>> 
> 
> 
> 
> -- 
> Persics Balint


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to