Hi,

I downloaded  the registry release, and it works great in JBoss and I
really like the web interface so I downloaded the code as well.

I was surprised to see that it wasn't using an ORM mapper since with
simple JPA mappings you can switch between hibernate and OpenJPA
without too much of a problem (I have just ported a large project from
JBoss to WebLogic (hibernate -> OpenJPA).  I also saw that  this was
discussed on the list in some depth - but unfortunately it immediately
makes the registry less appealing to me and it is tempting just to use
the abdera servlet example ...  What would it take to add an ORM
persistence engine (if you give me a class name I will try writing the
code).

My reasons for wanting to use ORM tools is that it would be useful to
support complex database objects (e.g. GML documents, store the XML
descriptions of the geometry as spatial geometry objects) there has
been a lot of work (and indeed I wrote the hibernate code for PostGIS)
to map these in the database and utilise the spatial index.  Hibernate
criteria queries, and dialects (again for spatial functions) are very
useful.  The license for hibernate as opposed to Apache is an issue,
but JPA is a specification for annotations and can port across
implementations.  I am thinking that writing generic indexing services
will be a lot easier with ORM tools since the indexing service does
not have to worry about the underlying database engine.

without ORM I don't see the benefit of this implementation of the
registry as it seems to have ignored the big steps taken forward by
EJB3, take for example the container port I have just performed,
pointbase is the DB for weblogic (a major vendor!) and I can't just do
it if I am dependent on a SQL create script (well actually we probably
could), but with JPA a user wouldn't have to worry (so much).

Don't want to knock the development effort, and the web interface is
really nice and the concept is great, just want to give some feedback
now, and if you point me at the right place (and you want it done - I
can add the ORM code).

Finally, I made the comment on Paul Freemantle's blog, the big benefit
of ebRIM is resource associations, owner->dataset, service->dataset
etc. How is this being envisaged for the registry?

Great effort, and thank you - registries are a very hot topic in the
geospatial world.

thanks,

Norman

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to