Deprecated spring handler was replaced with new one
Spring configuration was moved from xml to java
Configured REST app without xml for servlet 3