Versions Compared

Key

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

...

The focus of this Tutorial is to introduce you how you can create, design a simple SOA solution using Camel and OSGI. Most of the current and commercial SOA solutions rely on standards XML/WSDL/BPMN/BPEL and Business Processes (designed through WYSIWYG editor like Eclispe Eclipse or propriatary product) which are deployed and orchestrated into a Business Process Expression Language engine.

...

  • Felix for ServiceMix Kernel
  • Equinox for Spring Dynamic Module

...

ServiceMix Kernel

As mentioned in the documentation, Apache ServiceMix Kernel is a small OSGi based runtime which provides a lightweight container onto which various components and applications can be deployed. Moreover, the server provides administration, security, logging and provisioning features who will help you during the deployment and administration steps.

If this is not yet done, download ServiceMix Kernel 1.0.0 server and install it. Launch the server by executing the command in the bin folder:

...

  • In case of trouble, use the command: osgi list to see if all the deployed bundles are installed correctly and have their status equals to active
  • To see the log of ServiceMix, use the command: log d

Spring DM server

Spring DM server compare to ServiceMix Kernel, Eclipse Equinox or Apache Felix is much more than a OSGI server. This is a completely module-based Java application server that is designed to run enterprise Java applications and Spring-powered applications with a new degree of flexibility and reliability. It offers a simple yet comprehensive platform to develop, deploy, and service enterprise Java applications.

We have decided to it inside this tutorial not only because we have designed spring-based applications but because we are convince that OSGI platform will become the next standard for the Web Application Server. Existing Commercial and open-source are gradually migrating their servers to support OSGI.

Like ServiceMix Kernel, start the Spring DM server by launching the following command in your Unix/Dos environement :

Code Block

c:\springsource-dm-server-1.0.0.RELEASE\bin>startup

When the server is started, open your favorite browser and point to the following url http://localhost:8080/adminImage Added using 'admin' as login and 'springsource' as password. In the administration page, click on the button "browse" to upload the different to be deployed. Select the folder where the jar stayTODO

#Resources

  • Attachments
    patterns.*part1.zip