Versions Compared

Key

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

...

The Basic example shows how two external 1 applications communicate to each other via the ServiceMix ESB. The techniques used in the Basic example could be used to integrate any external application with ServiceMix and allow it to communicate with another external application or a component within ServiceMix itself. Examples of applications that may need to be accessible to other applications are SAP, Peoplesoft, spreadsheets, etc., or POJOs and EJBs that need to communicate with each other or with a legacy application.

In our the Basic example, the external applications are communicate using the same (ActiveMQ), so protocol, JMS. Thereforek, they could communicate directly with each other. This The Basic example is a simplification to enable us to concentrate on the logical flow of the messages rather than the details of transforming one type of message into another.

A common scenario in which an enterprise service bus is used is for a Web-based form application to request data from a legacy application, such as Peoplesoft. The Web-based form communicates via HTTP which the legacy application does not understand. Using the ESB, the for apps to communicate is: external app to resoure adapter to binding component, message based through NMR to another binding component, from there to resource adapter to other application. The following diagram illustrates the a typical ESB and application integration:

...