IBM Rational Development Tools for OSGi Applications, Version 1.0.4

The IBM Rational Development Tools for OSGi Applications help you build enterprise applications that benefit from the modular and dynamic approach version control, and integration of third-party libraries that the OSGi applications framework provides.

09 June 2011 (First published 13 August 2010)

The IBM® Rational® Development Tools for OSGi Applications help you build enterprise applications that benefit from the modular and dynamic approach version control, and integration of third-party libraries that the OSGi applications framework provides.

System requirements

You must have the following software installed to use the OSGi development tools:

  • Eclipse Helios Version 3.6.2 Eclipse IDE for Java EE Developers package. For information on installing this package, see the Software requirements section.
  • Java version 5 or higher.

Tool overview

The IBM Rational Development Tools for OSGi Applications help you build software using a complete, dynamic component model:

  • Create and edit OSGi bundles, composite bundles, bundle fragments, and applications.
  • Import and export OSGi bundles, composite bundles, bundle fragments, and applications.
  • Convert existing Java Enterprise Edition (Java EE) web, Java Persistence Application (JPA), plug-in, or simple Java projects into OSGi bundles.
  • Edit OSGi bundle, application, and composite bundle manifest files.
  • Create and edit OSGi blueprint configuration files.
  • Edit OSGi blueprint binding configuration files.
  • Diagnose and fix problems in your bundles and applications using validation and quick fixes.

For more information on the development tools for OSGi applications, consult the documentation (click Help > Help Contents > Developing OSGi applications).

Version

1.0.4

What's new

Support for creating bundles from third party JAR files and including or depending on these bundles in OSGi applications.

Support

Not supported. IBM provides this tool "as-is."

Hardware requirements

There are no additional processor or memory requirements for installing the IBM Rational Development Tools for OSGi Applications in the Eclipse Helios v3.6.2 package, Eclipse IDE for Java EE Developers.

Software requirements

Before you install the tools, you must have the Eclipse Helios v3.6.2 package, Eclipse IDE for Java EE Developers installed.

To install Eclipse Helios v3.6.2:

  1. Download Eclipse IDE for Java EE Developers from the Eclipse Helios V3.6.2 downloads site:
    1. Select Eclipse IDE for Java EE Developers.
    2. In the Download links section, select your operating system and download the archive file to your temporary directory.
  2. Decompress the archive file.

Installing the IBM Rational Development Tools for OSGi Applications

  1. Start Eclipse by double-clicking eclipse.exe in your installation directory.
  2. In the Workspace Launcher dialog window, type the name of your workspace and then click OK to open Eclipse.
  3. In the main menu, click Help > Install New Software.
  4. In the Install dialog box, click Add to add a new repository location.
  5. In the Location field of the Add Repository dialog box, type http://public.dhe.ibm.com/ibmdl/export/pub/software/rational/OSGiAppTools and then click OK.
  6. Select OSGi Application Development in the list of available software, and then click Next.
  7. On the Install Details page, click Next.
  8. Read the license agreements, and then click I accept the terms of the license agreements, and click Finish.
  9. In the Security Warning dialog box, click OK to accept the unsigned content.
  10. In the Software Updates dialog box, click Restart Now to restart Eclipse.

Uninstalling the IBM Rational Development Tools for OSGi Applications

To uninstall the tools:

  1. Start Eclipse.
  2. From the main menu, select Help > Install New Software.
  3. In the Install dialog box, click the What is already installed? link.
  4. In the Eclipse SDK Installation Details dialog box, under the Installed Software tab, hold down Ctrl and then click the following features:
    • OSGi Application Development Tools
    • OSGi Application Development Tools UI
    • OSGi context-sensitive help
    • OSGi Help documentation
    • Rational Development Tools for OSGi Applications help documentation
  5. Click Uninstall.
  6. Click Finish to remove the features from Eclipse.

Sample applications

These samples help you learn about and explore the key features of these Rational development tools. You can download the Enterprise Bundle Archive (EBA) files from the Download section.

The Hello World sample is an introduction to using the tools. This sample demonstrates how to create a simple OSGi application that comprise an OSGi web bundle that contains a servlet and an activator that identifies the life cycle of the bundle.

The Counter Service sample demonstrates how to declare services in the blueprint file of a bundle, which makes it accessible to other bundles in the application. The OSGi application is composed of an OSGi web bundle that contains a servlet that accesses a service that is provided in another bundle project.

To import the sample EBA files:

  1. Download OSGi_Sample_EBA_files.zip to a temporary directory.
  2. Decompress the archive file.
  3. In Eclipse, click File > Import to open the Import dialog window.
  4. Expand OSGi and select OSGi Application EBA. Click Next.
  5. Click Browse and select the sample EBA file from your temporary directory. Click Finish.

After the samples are imported into your workspace, you can explore the sample code or install the EBA files in your runtime to deploy the OSGi applications.

Feedback

The IBM Rational Development Tools for OSGi are still in development, so your suggestions and feedback will help us to understand which features are the most important to you and what needs to be changed or improved. Please take a moment to visit the IBM Rational Development Tools for OSGi Applications forum to submit your feedback.

About the author

This excerpt is brought to you by the Rational staff at IBM developerWorks.

Download

DescriptionNameSize
OSGi Sample EBA filesOSGi_Sample_EBA_files.zip14KB
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=569800
SummaryTitle=IBM Rational Development Tools for OSGi Applications, Version 1.0.4
publish-date=06092011