Is Jersey2 different from Jersey v2.x?

Asked

Viewed 23 times

0

I am trying to implement Swagger in Jersey and there is the implementation for both Jerseys. Want to know if Jersey2 is different from Jersey v2.x? or is the same.

1 answer

0

Jersey (or JAX-RS) is a dependency that assists in implementing Restful servers in Java. This dependency has two macros, Jersey1 (or simply Jersey) and Jersey2, in which case 1.x or 2.x indicates that it would be compatible with any of them, thus:

1.x indicates that it is compatible with 1.1/1.1.1/1.2/1.2.1/etc 2.x indicates that it is compatible with 2.1/2.1.1/2.2/2.2.1/etc

Remembering that some things of 1.x versions may not be compatible in 2.x and vice versa.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.