I don’t like the Mediator by Luc Gorissen

clip_image002

Ok, so there you have it: I just don’t like the Mediator. I don’t really know why. But now that it’s in the open, let’s discuss it.

I often see a pattern where a composite with a synchronous operation is implemented with a Mediator and BPEL component:

I think that in most of these cases, it would be better to either leave out the Mediator component completely. Or replace it with a BPEL component that is run transient, i.e. in-memory.

This article discusses some of the aspects around using a Mediator.

We need to discuss…

Some of the reasons to avoid a Mediator:

  • It adds another ‘technology’ to your developer’s skillset
  • It adds more tasks for system administration
  • It’s bad for performance

Arguments in favor of using the Mediator:

  • One end-point for a composite with multiple operations
  • One external interface hides composite-internal changes

Let’s go.

Yet another developer skill

As developer has to learn a lot when trying to master the SOA Suite completely. Learning all the aspects of BPEL is already a big task. And the Mediator is yet another skill. Arguably, not a big skill. Even more, developers are often inclined to say ‘ah … not hard at all’. But … are you as a developer familiar with all the features of Mediators? Like the resequencing rules? The routing rules priorities? When to specify sequential and parallel execution?

I like simple things.

More tasks for system administration

Like for the developer, the Mediator also introduces new topics for the system administrator: purging and tuning.

Both should not be a big issue, as enough information is available on how to handle them . But … does your system administrator know that there is a Mediator engine that needs to be tuned? Just challenge your system administrators to have a look at  Mediator tuning and ask them how they handled it.

Performance

At the beginning of the article, it was argued that a Mediator with synchronous operation(s) can be replaced with a BPEL component. That BPEL component can then be made transient, i.e. it will run in memory. That would save the DB access by the Mediator engine. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Process Cloud – first impressions by Luc Gorissen

 

clip_image002As of this week, Oracle has released the Oracle Process Cloud Service (PCS): https://cloud.oracle.com/process. This PaaS cloud service offers a development platform for implementing business processes. Underpinning technology for this cloud service is the Oracle Fusion Middleware BPM stack. As a result, using the Process Cloud Service should be easy for people that are already familiar with Oracle Fusion Middleware BPM. For example, familiar platform components like BPM Composer and BPM WorkSpace are also present in PCS. With that in mind, we decided to give it a go!

This article outlines the steps for implementing a simple process in the Oracle Process Cloud Service. We were inspired during a discussion with a customer on SOA Governance, more specifically: how to handle/grant access to specific services. The customer mentioned that ‘he had people were complaining that it was unpredictable how long it took before access to a specific service in a specific environment was granted’. These types of processes can be handled very well within the Oracle Process Cloud. So, the ‘ServiceAccessApproval’ process will be shown in this example.

Sample process ServiceAccessApproval

The process ServiceAccessApproval in short consists of the following steps: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki