ResourceConfig replaced with ServletContext (<context-param> in web.xml instead of <init-param>)