convert to spingMVC and jdbc application