Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Section
Column

In this example, we will only use two components:

Thus we will have to create two service units and a service assembly.

First, we need to create the root maven project which will hold our SUs and SA. Launch the following commands:

Code Block
mkdir citytime
cd citytime

And create a file named pom.xml with the following content:

Code Block
langxml
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.servicemix.samples</groupId>
  <artifactId>citytime</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
</project>
Column
Gliffy Diagram
sizeM
namecitytime-sa
pageSM:Orchestration with JSR181alignleft
spaceSM

Then, we can use maven archetypes to create the two SUs and the SA. In the citytime directory, launch the following commands:

...