Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop OSGi applications


Sample OSGi applications

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

Two sample OSGi applications are provided: "Blog" and "Blabber". Both applications demonstrate all of the following OSGi Applications features:

The samples are provided in the OSGi_blogSample.zip and OSGi_blabberSample.zip compressed archive files, which can be downloaded from the Samples download page. The EBA file for each sample application is in the installableApps directory of the sample compressed file, and the source code is provided in other subdirectories of the sample compressed file.

For information about how to install and run each sample application, see the sample_osgi_blog_readme and sample_osgi_blabber_readme respectively. These files are available in the root directory of the associated sample compressed file. They are also available in the information center as topics OSGi blog sample application and OSGi blabber sample application.


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).

See OSGi blog sample application.


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:

See OSGi blabber sample application.


Subtopics

Parent topic: Develop OSGi applications

Related concepts:

About OSGi Applications

Related tasks:

Develop a composite bundle
Secure OSGi Applications
OSGi blog sample application
OSGi blabber sample application

Related reference:

Best practices for developing and working with OSGi applications

Develop enterprise OSGi applications for WAS
OSGi Applications: Troubleshooting tips
Reference topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.

+

Search Tips   |   Advanced Search