Sun GlassFish Enterprise Server v3 Prelude Add-On Component Development Guide

Packaging an Add-On Component

To enable an add-on component to plug in to the Enterprise Server kernel in the same way as other components, package the component as an OSGi bundle.

A bundle is the unit of deployment in the OSGi module management subsystem. To package a component as an OSGi bundle, package the component's constituent files in a Java archive (JAR) file with appropriate manifest entries. The manifest entries provide information about the component that is required to enable the component to be plugged into the Enterprise Server kernel, such as: