On Wed, Sep 29, 2010 at 4:18 PM, Gabriel Roldán <grol...@opengeo.org> wrote:
> It's too long since I don't work on app-schema as to even try to respond
> your previous questions...
>> As a final note, is there any plan to try alternative strategies to improve 
>> the
>> feature chaining approach?
> I think the app-schema module (since a long long time ago) should be
> split into two, because it's taking care of two orthogonal concerns:
> - app schema mapping
> - O/R mapping
> One thing that would be very worth to try,imho, is to have a Hibernate
> Spatial datastore so we don't have to reinvent the wheel wrt OR mapping,
> and then thea app schema mapping can use one of those for the final
> tweaks to make it app-schema conformant.

I agree that having Hibernate spatial support would be nice.
What bugs me is that in order to use it you need annotated java beans
or java beans + xml config files. Which is nice if you have another app that
is also using H.S. and you have the jars with the beans handy, but not
acceptable otherwise: asking the users to hand code some xml is already
pretty annoying, but telling them to fire up eclipse and start writing annotated
java code, build it and package it borders on the insane ;-)

Unfortunately all OR-mappers I know of today target a set of java beans,
so if we want to go there without asking people to code java I fear we'll have
to roll our own.

Maybe a solution in the middle could be to have Groovy classes with
annotations that bind them to the xml on one side, and on the database
on the other. Still a far cry from a nice GUI allowing one to just go directly
from DB to xml schema though

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

-----------------------------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to