Moving to spring instead of resteasy