Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Holger Staudacher committed Aug 15, 2012
1 parent 8fbd874 commit c3c76d4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OSGi - JAX-RS Connector
======================================
OSGi - JAX-RS Connector 2.0.0
=============================

[JAX-RS (JSR 311)](http://jsr311.java.net/) is the community-driven Standard for
building RESTful web services with Java. The reference implementation for JAX-RS is
Expand All @@ -26,24 +26,26 @@ Requirements
Jersey version
--------------

Jersey 1.11 is included in the software repository.
Jersey 1.13 is included in the software repository.

Installation
------------

Install from this software repository into your target: http://hstaudacher.github.com/osgi-jax-rs-connector
or download the binaries:

* [com.eclipsesource.jaxrs.connector_1.0.0.201201191236.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.eclipsesource.jaxrs.connector_1.0.0.201201191236.jar) - [(src bundle)](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.eclipsesource.jaxrs.connector.source_1.0.0.201201191236.jar)
* [com.sun.jersey.jersey-core_1.11.0.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.sun.jersey.jersey-core_1.11.0.jar)
* [com.sun.jersey.jersey-server_1.11.0.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.sun.jersey.jersey-server_1.11.0.jar)
* [com.sun.jersey.jersey-servlet_1.11.0.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.sun.jersey.jersey-servlet_1.11.0.jar)
* [com.eclipsesource.jaxrs.connector_2.0.0.201208151950.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.eclipsesource.jaxrs.connector_2.0.0.201208151950.jar) - [(src bundle)](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.eclipsesource.jaxrs.connector.source_2.0.0.201208151950.jar)
* [com.sun.jersey.core_1.13.0.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.sun.jersey.core_1.13.0.jar)
* [com.sun.jersey.jersey-server_1.13.0.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.sun.jersey.jersey-server_1.13.0.jar)
* [com.sun.jersey.servlet_1.13.0.jar](http://hstaudacher.github.com/osgi-jax-rs-connector/plugins/com.sun.jersey.servlet_1.13.0.jar)

If dependencies can't be satisfied please disable "include required software" within the target editor.

Usage
-----

* New in 2.0: Use the config admin to specify the root path. The default root path is /services. You can configure the path by
specifying a config with the service.pid **com.eclipsesource.jaxrs.connector** and the property **root*. The path needs to be a valid ath e.g. "/api".
* For Eclipse: Add the com.eclipsesource.jaxrs.connector.feature (OSGi JAX-RS Connector) to your target using the url above.
* Add the com.eclipsesource.jaxrs.connector and the 3 Jersey bundles to your OSGi instance.
* Convert some OSGi service to resources like in [this tutorial](http://jersey.java.net/nonav/documentation/latest/getting-started.html#d4e45)
Expand Down

0 comments on commit c3c76d4

Please sign in to comment.