I have a method to start up my application:
public void start() throws IOException { final Map initParams = new HashMap
If you're comfortable using spring, then the best way is to use the jersey spring api module (installed as an additional dependency). It's released in lockstep with Jersey.
The javadoc page has a decent example to get you started.