Sample OSGi applications

OSGi Applications support includes sample applications that demonstrate how to write and package bundles into an enterprise bundle archive (EBA) file.

OSGi Applications support includes two sample applications. Both applications demonstrate all of the following OSGi Applications features:
  • Using Blueprint management.
  • Using bean injection.
  • Using services from the OSGi service registry.
  • Publishing services to the OSGi service registry.
  • Using the Java™ Persistence API (JPA).

The EBA file for each sample application is in the app_server_root/feature_packs/aries/installableApps directory.

The source code for each sample application is in the app_server_root/feature_packs/aries/samples directory. Details of how to install and run each sample application are in the Readme.txt file in the relevant directory in the samples directory.

Blabber sample application

The blabber sample application is a microblogging application, used to enable many different people to share brief comments. The application contains the following bundles:

Blog sample application

The blog sample application is a traditional blogging application, used for publishing essay-length articles and allowing readers to comment on them. The application contains the following bundles:

To run the blog sample application, you can use all the bundles that are listed, or all the bundles except the upgraded persistence bundle (the last in the list).


Icon that indicates the topic type Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Saturday, 20 October 2012
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700osgijpa&product=was-nd-mp&topic=ra_samples

Copyright IBM Corporation 2009, 2012.
This information center is powered by Eclipse technology. (http://www.eclipse.org)