Removing web.xml and replacing with java based spring configuration.