LibraryLink ToToggle FramesPrintFeedback

Chapter 11. Packaging an Application

To deploy a FUSE Services Framework application into FUSE ESB, you need to package it as an OSGi bundle. There are several tools available for assisting in the process. FUSE ESB uses the Maven bundle plug-in whose use is described in Appendix A.

The FUSE Services Framework runtime components are included in FUSE ESB as an OSGi bundle called org.apache.cxf.cxf-bundle. This bundle needs to be installed in the FUSE ESB container before your application's bundle can be started.

To inform the container of this dependency, you use the OSGi manifest's Required-Bundle property.

In order for your application to use the FUSE Services Framework components, you need to import their packages into the application's bundle. Because of the complex nature of the dependencies in FUSE Services Framework, you cannot rely on the Maven bundle plug-in, or the bnd tool, to automatically determine the needed imports. You will need to explicitly declare them.

You need to import the following packages into your bundle:

Example 11.1 shows a manifest for a FUSE Services Framework application's OSGi bundle.