Thursday 2 April 2015

Difference between BPEL,Mediator and OSB

Hello Guys,


Today I am sharing my blog on Difference between BPEL,Mediator and OSB.
OSB is a 'A proven, lightweight integration Enterprise Service Bus (ESB) specifically designed for the task of integrating, virtualizing, and managing services in a shared services infrastructure, Oracle Service Bus allows you to achieve value more quickly with simple, code-free, configuration-based service integration'
and

'Oracle BPEL (Business Process Execution Language) Process Manager is a tool for designing and running business processes. This product provides a comprehensive,standards-based and easy to use solution for creating, deploying and managingcross-application business processes with both automated and human workflow steps – all in a service-oriented architecture'
In simpler terminology:
 If the primary requirement is for a solutions to accomplish  content based routing,transformation,message validations,enrichments and the integration is enterprise wide and features like message throttling,service virtualization,Reliable messaging are important,the Oracle Service Bus is a great fit .
If the requirement is for a solution to design, manage and run business processes which are stateful with functionalities like Human Workflow,Business Rules,monitoring and management and composite service implementations,the choice should be BPEL.
In reality ,most of the requirements are a combination of both of the above and a  pattern of using OSB in conjunction with SOA /BPEL has emerged.



 Oracle BPEL  Oracle Service Bus
 Stateful and long running processes Stateless messaging capablities
 Service Orchestration Service virtualization,message throttling,configuration based service configuration,Service pooling.
 Composite implementation Message validation,content based routing,transformation.
 Integration of Rules and Human Workflow XQuery and XSLT based message transforms.

Mediator has replaced the old ESB solution in SOA 10g-it is  essentially installed as part of the SCA composite.Primary function of the mediator is to serve as an intermediary bus within the composite components.
Below is a table summarizing key differences between Mediator and OSB:

  Mediator  Oracle Service Bus
 Light weight intra composite mediation Larger,more heavy weight inter composite enterprise service 'Bus'
 Domain Value mapping and Xref(cross referencing ) support. Serves as a logical proxy to physical services effectively providing service vitualization
Capablity to create data type assertions in XML trees. Message throttling,service pooling and reliable messaging
 Message transformation using XSLT. Message transformation using XQuery and XSLT.
 Development within JDeveloper Eclipse or web console based development.

It is also intresting to note that there are potential areas where all three components offer some overlapping functionality namely:
  • Message Routing
  • Message Filter
  • XSLT transformation
  • Message validation
  • Asynchronous Messaging
In conclusion,it would be wise to analyze the requirements of a business problem thoroughly before choosing one over the other and in most cases the solution is a combination of the OSB,Mediator and BPEL.

Cheers Guys!!
Kavindra Sahu

3 comments:

String to QR Code Image Generator Using Java

 Hi , Hope You are doing well. I came up with the requirement, where I need to generate QR code Image file for the input String. package dem...