Demo application with Swing and Hibernate