Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

This page tells you excerptINLINE

how to install your first service assembly and introduces the concepts 'service assembly' and 'service unit'

Service assemblies

In order to deploy an application to a JBI container, it is packaged as a service assembly, much like a JAVA web application is packaged in a WAR file. In the next tutorial, we'll go into more detail on how to create your own service assemblies. For now, we are going to look at an out-of-box example service assembly, deploy it and access the services that are being defined.

Deploying a service assembly

...

...

<servicemix_home>/hotdeploy is now the hotdeploy directory for service assemblies

...

The directory <servicemix_home>/deploy is the hot-deploy directory for service assemblies. If you copy a valid service assembly into this directory, it will be deployed on the JBI container automatically. You can find the example service assembly in <servicemix_home>/examples/wsdl-first/wsdl-first-sa-<version>.zip (where <version> matches the ServiceMix version you're using). If you copy this file into the <servicemix_home>/deploy directory, ServiceMix starts the deployment process. Upon completion of deployment, your console output should show these messages:

...

...

Testing the service assembly

...

...



...