Quantcast
Viewing latest article 9
Browse Latest Browse All 12

Subprocess in Oracle SOA Suite 12C

In this post, we are going to look at Subprocess in SOA 12C which is one of the new feature introduced in SOA 12C which mainly focuses on reusability of the code with much ease within the BPEL or across different bpel within the same composite.

Subprocess in SOA 12C:

Subprocess is one of the new features in SOA 12c and as the name suggests, It is a piece of code which is embedded with the BPEL or outside BPEL component that can be reused across.

There are two types of Subprocess:

  1. Inline Subprocess
  2. Standalone Subprocess

Inline Subprocess:

  • It is part of the BPEL which allows the same code to be reused within the same BPEL.
  • Whenever we identify some set of activities being used multiple times within a particular BPEL, we can add those activities in a scope. Then we right click on the scope to convert this reusable piece into subprocess.
  • This scope is replaced by a call shape and the set of activities become a reusable asset within the same BPEL process which can be called multiple times leveraging the call shape.

Steps to create an Inline Subprocess:

1. Identify the reusable piece of code and push it into a scope.

Image may be NSFW.
Clik here to view.
Identifying reusble code

2. Right click on the scope and select the option “convert it into a subprocess“.

Image may be NSFW.
Clik here to view.
convert to a subprocess

3. Scope is replaced by a call shape and an inline subprocess is created.

Image may be NSFW.
Clik here to view.
Inline subprocess

Standalone Subprocess:

  • It is part of the BPEL which allows the same code to be reused across different BPEL components within the same composite.
  • Whenever we identify some set of activities being used multiple times across different BPEL components within the same composite, we can add those activities in a standalone subprocess.
  • This subprocess can be called from different BPEL components.

Steps to create a Standalone subprocess:

1. Right click on the service component lane in the composite and select the subprocess option to configure a standalone.

Image may be NSFW.
Clik here to view.
configure a standalone

Image may be NSFW.
Clik here to view.

2. Open the BPEL component where you want to reuse the standalone subprocess. Insert a call shape and select the standalone subprocess which is required to be reused.

Image may be NSFW.
Clik here to view.
edit cell

Image may be NSFW.
Clik here to view.

So, this is about the Subprocess and all about the Subprocesses in SOA 12C.

We cover this in one of the modules of our Oracle SOA Dev where we also cover Develop SOA Composite, Orchestration, Managing and Monitoring Composite Applications, Fault Handling, DVM & MDS, JCA Adapters, Mediator, Business Rule Component and much more interesting and latest features in SOA 12C.

Did You Find this Blog useful?

Leave a Comment.

Some Interesting Topics in SOA Dev:

  • [Video] Oracle SOA Suite Development: Meta Data Service (MDS) Click here
  • [Video] Oracle SOA Suite Development: Domain Value Map (DVM) Click here

If You’ve not looked at Our Oracle SOA Suite Development Workshop & want to check what we cover in the Workshop then check here & Step By Step Hands-On Activity Guide we cover in Training.

Join Community

Join 3500+ Oracle Professionals like you to discuss Oracle Weblogic Server, Ask Questions or Help Others in Private Facebook Group for Oracle SOA Dev

If you are looking for the commonly asked interview questions for Oracle SOA Suite Development, then Click on the Image Below and receive them in your Inbox right away!Image may be NSFW.
Clik here to view.

 

The post Subprocess in Oracle SOA Suite 12C appeared first on Oracle Trainings.


Viewing latest article 9
Browse Latest Browse All 12

Trending Articles