<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [postgis-users] State of the postgis hibernate union?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>hi,<BR>
<BR>
when i first wrote the postgis driver it was just an experiment to see if it would work. The code for the usertype is very simple, but it works and there is a tutorial in svn. I am not part of the hibernate spatial project, but they have done the real work and created an application framework - i need to put some of my work in and then i will probably deprecate the code in the ejb folder in postgis unless i hear otherwise.<BR>
<BR>
Though not the place for a framework debate, grails (<A HREF="http://www.grails.org">http://www.grails.org</A>) works really well with hibernate, and it also simple to embed openlayers in a jsp<BR>
<BR>
hth<BR>
Norman<BR>
<BR>
-----Original Message-----<BR>
From: postgis-users-bounces@postgis.refractions.net on behalf of Per-Olof Norén<BR>
Sent: Sun 10/7/2007 6:26 PM.<BR>
Hi guys,<BR>
<BR>
Sorry for cross posting, I'm new to the lists and not sure on where this<BR>
belongs.<BR>
<BR>
I'm currently involved in a project with GIS functionality.<BR>
Architecture is roughly like this:<BR>
* Apache Tomcat<BR>
* Wicket 1.3 / Geoserver 1.6<BR>
* Hibernate<BR>
* PostgreSQL 8.2 + PostGIS 1.2.1<BR>
We're using maven2 as build system for all this.<BR>
<BR>
Currently I'm looking to set up EJB persistence for domain beans<BR>
containing persistence. Using hibernate annotations.<BR>
<BR>
1. Maven repository for the postgis jar<BR>
I found this:<BR>
<A HREF="http://postgis.refractions.net/pipermail/postgis-devel/2006-November/002375.html">http://postgis.refractions.net/pipermail/postgis-devel/2006-November/002375.html</A><BR>
And it seems perfect, had it only been updated to latest and greatest<BR>
version.<BR>
Are there any plans for an updated driver?<BR>
<BR>
2. EJB and hibernate UserTypes<BR>
I found EJB3 code in the postgis driver source, contributed by norman baker.<BR>
I found <A HREF="http://www.hibernatespatial.org/">http://www.hibernatespatial.org/</A> , which seems to fit.<BR>
I found <A HREF="http://www.foss4g2007.org/presentations/view.php?abstract_id=118">http://www.foss4g2007.org/presentations/view.php?abstract_id=118</A><BR>
To bad I missed foss4g...<BR>
<BR>
Seems to me all of the above do the same thing as I want.<BR>
I'm interested in the direction / roadmap for the postGIS EJB3 development.<BR>
Which should I use, according to the postGIS community?<BR>
<BR>
Any suggestions greatly appreciated<BR>
<BR>
Thanks in advance<BR>
Per-Olof Norén<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
postgis-users mailing list<BR>
postgis-users@postgis.refractions.net<BR>
<A HREF="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>