Adding hibernate and spring to web service