bcoughlan
bcoughlan

Reputation: 26627

RESTEasy / JAX-RS spec versions?

I know that RESTEasy 3.x uses JAX-RS 2.0. Which versions of RESTEasy correspond to JAX-RS 1.0, 1.1 and 1.1.1?

Upvotes: 1

Views: 351

Answers (2)

jan.supol
jan.supol

Reputation: 2805

According to Bill's blog (Bill Burke is one of the main RESTEasy creators):

  • RESTEasy 3.x is JAXRS 2.0,
  • RESTEasy 2.x is JAXRS 1.1,
  • RESTEasy 1.x is JAXRS 1.0.

There is no JAXRS 1.1.1 specification as per JSR 311, though surprisingly you can find JAXRS 1.1.1 API with updates to JAXRS 1.1. API.

Upvotes: 2

cassiomolin
cassiomolin

Reputation: 130907

While Jersey uses javax.ws.rs artifacts as dependency (so you can know the JAX-RS version by the dependencies), RESTEasy repacks JAX-RS classes into their own JARs.

Both RESTEasy 1.x and 2.x implement the JAX-RS 1.x specification. The JAX-RS 2.x specification is only mentioned in RESTEasy 3.x documentation.

Documentation:

Upvotes: 2

Related Questions