Member Menu
 
 Monthly JBoss newsletter:
 
Hibernate Books
CaveatEmptor

Hibernate Search Vanilla

I recently had the need for some simple vanilla application using Hibernate Search. I wanted something I could run standalone without any container or such. I ended up with a simple Swing GUI using a couple of buttons and a JTable. Work is still in progress, but I think the application shows already the basics of Hibernate Search without any bells and whistles (screenshot).

You can download a maven project with the code from here.

Download and unzip the file and then run:

mvn clean assembly:directory
cd target/hsearch-demo-1.0.0-SNAPSHOT-dist.dir/hsearch-demo-1.0.0-SNAPSHOT
./run.sh

You will need the following maven repositories defined in your settings.xml:

        <repository>
          <id>jboss</id>
          <url>http://repository.jboss.com/maven2</url>
        </repository>
        <repository>
          <id>compass-project.org</id>
          <url>http://repo.compass-project.org</url>
        </repository>

You find more information about the app on this blog http://in.relation.to/Bloggers/HibernateSearchClusteringWithTerracotta.

© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]