ServiceBinder Examples


Instructions on how to compile and run the examples.

The examples.zip file includes an ant file called build.xml

The targets are:

clean to clean the classes and bundle directories
compile to compile the examples
bundle compile and package all of the examples
simpleservice.bundle a bundle that registers one SimpleService service
anothersimpleservice.bundle a bundle that registers another SimpleService
simpleclient.bundle a bundle that contains a client to the SimpleService

If you want to build the bundles, just type:

ant

If you want to modify the instance descriptors, they are located under the /res directory of each example in a file called metadata.xml

Once the bundles are done you should find them under a directory called bundle, you must then install them into the OSGi framework, and make sure that the service binder bundle is also present.

Install these examples and the architecture viewer to see how bindings are created/destroyed.


Last revision: 29 January 2004
(c) H. Cervantes and R.S. Hall