JAX-RS with Karaf

Yesterday I was able to run a simple jax-rs service on Karaf by implementing a bundle project and adding all needed dependencies manually into the Karaf deploy folder. Actually I thought it will be hard but it was simple. Anyway I was still not absolutely happy with that what I got at the end, especially with my step placing bundles into the deploy folder of Karaf. So I started to create a Karaf feature, who likes may just look into my Github karaf-playground the feature is still not complete but I will manage that soon.

Ok, that was my attemp to use jersy… Later an OSGi advocate pointed me to another tutorial which is based on CXF and I can definitely recommend that, it is absolutely complete and easy to setup.

Here you can find the Github link Karaf-REST-Example

  • en/dev/env/karaf/jax-rs.txt
  • Last modified: 2020/10/11 21:34
  • by alexejsailer