Java based Spring and Servlet config