convert to springmvc jdbc application