Integration Spring and Hibernate to server.