...
Code Block |
---|
../felix-3.0.1> java -jar bin/felix.jar Welcome to Apache Felix Gogo g! install http://repo1.maven.org/maven2/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar g! start http://www.apache.org/dist/cxf/dosgi/1.12/cxf-dosgi-ri-singlebundle-distribution-1.12.jar ... some log messages may appear... g! lb 0|Active | 0|org.apache.felix.framework (3.0.1) 1|Active | 1|org.apache.felix.bundlerepository (1.6.2) 2|Active | 1|org.apache.felix.gogo.command (0.6.0) 3|Active | 1|org.apache.felix.gogo.runtime (0.6.0) 4|Active | 1|org.apache.felix.gogo.shell (0.6.0) 5|Resolved | 1|osgi.cmpn (4.2.0.200908310645) 6|Active | 1|cxf-dosgi-ri-singlebundle-distribution (1.2.0) |
...
Code Block |
---|
.../eclipse> java -jar plugins/org.eclipse.osgi_3.6.0.v20100517.jar -console osgi> install install file:plugins/org.eclipse.osgi.services_3.2.100.v20100503.jar Bundle id is 1 osgi> install http://www.apache.org/dist/cxf/dosgi/1.12/cxf-dosgi-ri-singlebundle-distribution-1.12.jar Bundle id is 2 osgi> start 2 ... some log messages may appear... osgi> ss Framework is launched. id State Bundle 0 ACTIVE org.eclipse.osgi_3.6.0.v20100517 1 RESOLVED org.eclipse.osgi.services_3.2.100.v20100503 2 ACTIVE cxf-dosgi-ri-singlebundle-distribution_1.2.0 |
...
Sample | Description | Doc Page |
---|---|---|
greeter | a very simple demo of a Greeter OSGi Service exposed remotely and a Consumer invoking on it. | |
greeter_rest | (starting from 1.1-SNAPSHOT) a very simple demo of a Greeter OSGi Service exposed remotely as a RESTful service and a Consumer invoking on it. Virtually identical to a greeter sample | |
spring_dm | a demo created using Spring-DM. Rather than invoking on the OSGi API's directly, the Spring-DM demo shows how you can use Spring to configure your beans as OSGi Services and similarly how to use Spring-DM to invoke a (remote) OSGi Service. | |
ds | this demo shows how Distributed OSGi can be used with OSGi Declarative Services (DS). | |
discovery | this demo shows how to use Distributed OSGi with a dynamic Discovery system such as the one based on Zookeeper that comes with CXF/DOSGi. | |
iPOJO | this demo shows how Distributed OSGi can be used with iPOJO |
...