OSGi JAX-RS Connector 3.2 released
Today we are proud to release the OSGi JAX-RS Connector 3.2. A lot has happened since the 3.1 release back in October 2013. This post will give you an overview of the new and noteworthy things included in the 3.2 release.
- We upgraded the underlying Jersey library to 2.5 which was released back in December. We also included the bundles needed for multipart formdata requests.
- Bryan Hunt started the work on an OSGi friendly integration of the JAX-RS security features. The integration is contained in the new security provider bundle which is called com.eclipsesource.jaxrs.provider.security. All you need to do to use this feature are two things: 1) Start the provider bundle and 2) Implement two interfaces (AuthenticationHandler and AuthorizationHandler) and register them as OSGi services. More detailed instructions can be found in the wiki.
- As you may have read in the last paragraph, we have a wiki now ;). It contains a basic FAQ and some tutorials. Feel free to contribute and share you knowledge!
- JAX-RS “Features” can be registered as OSGi services and will be picked up by the publisher now.
- The publisher is now able to push messages to the client using Jersey’s SSE feature. To enable this you need to start a new bundle called com.eclipsesource.jaxrs.provider.sse. We have also added an example that shows what SSE does. You can also see this example in action in the screenshot below.
- We splited sources and binaries at the bundle level in the past. With this release we provide real source features build with Tycho’s tycho-source-feature-plugin.
You can consume the connector in the usual ways: download, p2 and maven. Checkout the README for more details.
GitHub repository: https://github.com/hstaudacher/osgi-jax-rs-connector
p2 repository: https://hstaudacher.github.io/osgi-jax-rs-connector
At this point I want to thank all the contributors for their great work: @BryanHunt, @toedter, @dcaillia, @codescale and @ddragosd.
[ Find even more Eclipse Tools to hack your workflow. | Running a mission-critical system? Keep it running smooth with our Production Support. ]