This program demonstrates how to use Spring4 and Hibernate4 with the SessionFactory.