web.xml to JavaConfig - step1