j2ee application using spring framework and hibernate.