title: Difference between Apache CXF Runtime JAX RS Frontend and 'javax.ws.rs' (from Oracle)
body: <p>I am developing web services for a project, and I supposed to add the dependency on a pom file for 'javax.ws.rs' and 'javax.ws.rs.core'. Since I am using Apache CXF for the required REST API Implementation. I have couple of question:</p>
  
  <ol>
  <li>What is this 'javax.ws.rs' (<a href="https://docs.oracle.com/javaee/6/api/javax/ws/rs/package-summary.html" rel="nofollow">from Oracle</a>), Is this only JAx-RS API Specification ? If this is true that its has only APIs then how its helpful ? Why don't we only use the apache cxf or jersey and add that as a dependency to maven?</li>
  </ol>
  
  <p>2.To implement I definitely need to use 'Apache CXF Runtime JAX RS Frontend', then what is the difference between 'javax.ws.rs' and 'Apache CXF'.</p>
  
  <p>Please rephrase my question if doesn't make the sense but it makes sense in a different way.</p>