I am working through examples in Restful Java with JAX-RS by Bill Burke. I'm using intellij and created a Maven project to make a "Hello World" web service. I understand that JAX-RS is a specification, and not an implementation. I would like to try the Apache CXF implementation.
How do I find out what jar, or what Maven artifact contains the necessary classes to:
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.GET;
Try searching for the class on Central. It looks like jaxrs-api
is what you're looking for; there are a couple of different packagers, and which one you want is probably whichever goes with your container.