Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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

share|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
add comment

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

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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