Showing posts with label Binding Component. Show all posts
Showing posts with label Binding Component. Show all posts

Tuesday, March 10, 2009

Comprehensive example in Open ESB using File, FTP, JMS, JDBC and Soap

The last 5 articles explains different binding components (File, FTP, Soap, JDBC, JMS) usage in Open ESB. To summarize and get more understanding of each of this BC, here is a comprehensive scenario using all of these binding components. Let's define a problem that requires to use all these BCs.

Problem Description: Get the employee details from the database based on employee id and publish it in JMS. There will be two different subscribers who listens to JMS and consumes the message based on some filter logic and publish the message either on local file or on FTP server. The whole solution should be exposed as a web service so that it can be accessible to any web service client.
Let's assume that you have to implement this solution in normal application like Java/.Net. You'll have to take care of the following major things apart from business logic
  • Management of Database connections
  • Management of JMS connections
  • Management of FTP connections
  • Management of File streams
  • Web service implementations

In case, you are using SOA application all of the above are taken care by the respective binding components and user can only concentrate on the business logic.

Click here to view the complete solution in Open ESB

Below is the solution overview diagram