For a new project I'm looking for a more "mainstream" like server side web development technology stack. This question could also be asked in stackoverflow, but as we also use Geoserver and the Java topology suite (JTS) it has a very strong GIS relevance in my opinion.

As I already mentioned we use JTS and Geoserver and therefore want to stay on the Java platform.

We use Hibernate as an O/R Mapping Framework because it also offers robust mapping of spatial data types over Hibernate-Spatial.

As a new feature we want to integrate Solr as search and indexing server. The Integration with the data that is read or written (by Hibernate-Spatial) should be as seamless as possible.

Spring offers the integration we would like to have, so we can trigger indexing after every database action.

BUT: Does that all also fit together if we want to use Hibernate-Spatial with Spring? Are there any version dependencies? Do you know better alternatives to integrate these technologies? Do you have experiences and know good tutorials?

I would be very thankful for some of your opinions and expertise.


Gisgraphy use both, hibernate spatial and solr, you can have a look at the source code. I have develop a personal db-to-solr synchronizer because some entities were not concerned by synchronisation.

Hope it helps

| improve this answer | |
  • Thank, thats what i was looking for...an example implementation, or at least a proof-of-concept that all fits together. – Jürgen Zornig Dec 21 '12 at 12:20

Please have a look at Integrating Hibernate and Solr for a working example of how to connect Hibernate with Solr through Hibernate Search.

| improve this answer | |
  • Thank you very much, your example is very interesting for me to get into this. – Jürgen Zornig Dec 21 '12 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.