users@jersey.java.net

[Jersey] [ANN] Jersey 2.16 has been released

From: Libor Kramolis <libor.kramolis_at_oracle.com>
Date: Fri, 13 Feb 2015 21:39:02 +0100

Jersey team is happy to announce availability of Jersey 2.16.

For an overview of changes, bug fixes and new features, please consult Jersey 2.16 Release Notes: https://jersey.java.net/release-notes/2.16.html <https://jersey.java.net/release-notes/2.16.html>

Highlights

JAX-B providers separated from the core

From version 2.16 onwards, all JAX-B providers are being bundled in a separate module.

Performance gain when using Sub-Resource Locators

We improved the performance for using sub-resource locators in an Jersey application. The performance gains are available for cases when the sub-resource locator method returns either a resource class (return value is e.g. Class<?> or Class<MySubResource>) or a (non-proxied) resource instance (when return value is an instance of MySubResource class).

More unified connector configuration options

Jetty connector and Apache connector have been previously using their own custom properties to set SSL context on a connector. These properties have been deprecated and the code has been updated to read the SSL context information from the JAX-RS client configuration. This means that all Jersey connectors now properly accept SSL configuration as configured via standard JAX-RS ClientBuilder <http://jax-rs-spec.java.net/nonav/2.0/apidocs/javax/ws/rs/client/ClientBuilder.html> methods.

Previously, all Jersey connectors have been using their own default chunk size when HTTP chunked coding was used. Since Jersey 2.16, there is a new default chunk size value used by all connectors, if a custom chunk size is not set. The new default value is stored under ClientProperties.DEFAULT_CHUNK_SIZE <https://jersey.java.net/apidocs/latest/jersey/org/glassfish/jersey/client/ClientProperties.html#DEFAULT_CHUNK_SIZE> client property.

To download Jersey 2.16, please check our download page: https://jersey.java.net/download.html <https://jersey.java.net/download.html>

We also recommend you to check out the refreshed Jersey 2.16 documentation:
API: https://jersey.java.net/apidocs/2.16/jersey/index.html <https://jersey.java.net/apidocs/2.16/jersey/index.html>
User Guide: https://jersey.java.net/documentation/2.16/index.html <https://jersey.java.net/documentation/2.16/index.html>

We appreciate your feedback - if you have any thoughts or comments, send us an email to Jersey users mailing list users@jersey.java.net <mailto:users@jersey.java.net> or file any discovered bugs & new feature requests in Jersey Jira issue tracker: https://java.net/jira/browse/JERSEY/ <https://java.net/jira/browse/JERSEY/>

May the REST be with you,
Your Jersey Team.