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