Database Reference
In-Depth Information
The Orchestration pattern and embedded Java
In a topic that is dedicated to practical aspects of SOA patterns, we cannot devote much
space to Java, as we are supposed to stay reasonably language-neutral (one of the SOA be-
nefits, you remember). Sure, it's impossible when we talk about concrete implementations
on the Oracle platform where Java is the blood and bones of the entire ecosystem. Thus,
some words about it are in order here.
We deliberately omitted some steps at the beginning of our Business Delegate (or Service
Broker) process. They are quite typical and are as follows:
• We have to set appropriate audit and tracing levels, identifying them from the mes-
sage context (the Message Header is involved).
• We want to set the instance title from the very beginning, again using Message
Header values. This can be done using embedded Java; see the following screen-
shot:
You can do a lot using Java callouts in BPEL, but be reasonable and do not reinvent exist-
ing functions. Other areas of direct Java application would be Mediator's Java Callouts and
BPEL custom sensor actions; you can register custom classes with the SOA Suite.
Search WWH ::




Custom Search