Reputation: 13
Is JAX-RS part of jdk distribution like JAX-WS which comes insider Java 1.6 standard?
If yes, what jdk version is required to run?
Upvotes: 0
Views: 148
Reputation: 209004
No... it is part of Java EE. To use it you need either
An implementation like Jersey, so that you can use it in a plain servlet container like Tomcat.
Use a Java EE compliant server like Glassfish or Wildfly (JBoss), which already comes with an implementation.
If you want (need) to use Java 1.6, then if you want to go with option 1, use Jersey version 2.6 (If you're using Maven, see this post). If you want to go with option 2, then go with Glassfish 4.0 (not 4.1 or anything higher) or JBoss 7
If you can use any JDK version, then I would recommend using the latest versions of any of the above components.
Upvotes: 1