based on Spring framework and Hibernate library.