Changes

Jump to: navigation, search

OSGi : Lab

1,053 bytes added, 00:31, 3 February 2011
no edit summary
Before starting working at your lab, please take a look at an example of services implemented in the book [http://equinoxosgi.org/ OSGi and Equinox, Creating Highly Modular Java Systems]
Bring the code from https://guest:1673852@zenit.senecac.on.ca/svn/ecl500/Lectures/trunk/BOOKinto Eclipse and run the ToastClient (read the code).-----'''Your Lab must define an OSGi service and a service consumption'''. Please find below the steps necessary to build such a system.
into Eclipse # Create the Service Interface## Define the service interface## Create the bundle with the interface# Implement the Service Provider## Register the service in the class Activator.## Define the MANIFEST.MF for the service provider bundle.## Install and run the ToastClient (read Service Provider Bundle# Implement the Service Consumer## Define the MANIFEST.MF for the service consumer bundle.## Use the class Activator to find the service.## Implement a class where one can consume the service.## Install and run the code)Service Consumer Bundle.
Important note: ''The client (service consumer) must have a GUI interface''
|criteria=
Please find them below in the order of their importance:
# The correctness of the system design (see [http://zenit.senecac.on.ca/wiki/index.php/OSGi_:_Develop_Simple_Apps the OSGi service architecture]).
# The complexity of your OSGi service provider.
# The design and implementation of the GUI for the service consumer.
 |criteria=To be determined}}

Navigation menu