Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: There are two major phases to creating a lightweight component that is ready for deployment: one, is the development phase of the component, which includes coding and compiling and building the code, the second phase is creating the packaging necessary for the component to be installed onto the JBI container. This document will focus on the second part. Any steps relating to compilation are simply performed here to get us to the point that we can assemble the component into a JBI service assembly or service unit.

The following example shows several lightweight components (which make up the loan broker example) being deployed.

In general there are three steps to creating the SA and deploying it to the ServiceMix container.

  1. Create the service units.
  2. Create the service assemblies.
  3. Deploy the service assemblies to the JBI container.

The following provides details on each general step using an example to illustrateThese steps were performed with a source distribution of ServiceMix 3.x on Windows XP.

Although we are not covering the component development phase in this case we do need to perform a compile. We will use Apache Ant to compile the loan-broker demo components:

...