tree: 235ecda348dc4420ba45a887f44800ae06eb4711 [path history] [tgz]
  1. features/
  2. repository/
  3. rest/
  4. security_filter/
  5. soap/
  6. ssl/
  7. pom.xml
  8. Readme.md
samples/Readme.md

CXF DOSGi Examples

All examples are written using DS. For other DI frameworks use their methods to publish and consume OSGi services.

The features module provides Apache Karaf features for the examples. So using karaf is the easiest way to get the examples up and running quickly.

The SOAP example also provides a bndrun file for bndtools that allows to directly start/debug the service from Eclipse and export it into a runnable jar.

Checkout and Build

git clone git@github.com:apache/cxf-dosgi.git
mvn clean install -DskipTests -Dcheckstyle.skip=true

This will install the examples into your local maven repo.

Editing the examples in eclipse

Start eclipse and do Import .. Existing Maven Projects. Browse to the samples directory of your checkout and import all example projects.

Using bndtools

To use the bndrun files you need the bndtools eclipse extension >= 3.3.0.

Preparing Apache Karaf

Download Apache karaf 4.x. Extract the archive and start Apache Karaf using bin/karaf

Examples