Updating for using ApplicationContext in jersey-grizzly server