Use constructor injection for Jersey sample