Templates in Oracle SOA Suite 12c

Templates
Oracle

Share Post Now :

HOW TO GET HIGH PAYING JOBS IN AWS CLOUD

Even as a beginner with NO Experience Coding Language

Explore Free course Now

Table of Contents

Loading

In this post, we are going to cover Templates and Levels of Templates in SOA 12c  which is one of the new features in SOA 12c and mainly focuses on reusability of the code in Oracle SOA Suite.

Templates in SOA 12c:

  • Templates are reusable components.
  • The concept of the template helps developers to reuse a standardized piece of code that has been published in the form of templates.
  • It leads to reduced development time and more reusability.

Levels of Templates:

Templates in SOA 12c can be created at three different levels:

  1. Project Level Template
  2. Component Level Template
  3. Custom Activity Level Template

Project Level Template:

This template contains a full project along with all the artifacts, components and references. We can create a project template from Jdeveloper using the following steps:

1. Right-click on the SOA Project to be converted into project template and Select the option Create SOA Template.

Create SOA Template

2. Specify the path to the store template.

path to store template

3. Check all the files that are required to be included in the template and hit finish.

Templates in Oracle SOA Suite 12c

4. Project Level Template gets successfully created.

Templates in Oracle SOA Suite 12c

 

We can build new projects from this project template, the new project imports all the artifacts, components and references which are there in the project template.

Below are the steps to create a new project using projects template:

1. Go to file—>New—->Project

Templates in Oracle SOA Suite 12c

2. Select the SOA Project and click ok.

SOA Project

3. Name the Project as per your context and click Next.

Name the Project

4. Select the radio button SOA Template and choose the template on the basis of which you want to create a project and hit the finish button.

radio button SOA Template

Component Level Template:  

  • This template contains service components.
  • We can create a template from any composite component.
  • It also contains all reference components and resources which are there inside that component.
  • You can find this template in the SOA composite application’s Components window and it appears as a custom service component.

Below are the steps to create the component level template:

1. Right Click on the component to be converted into a component level template

Templates in Oracle SOA Suite 12c

2. Select the option Create Component Template.

Create Component Template

3. Select all the files that are required to be included in the template and hit finish.

hit finish

4.A component template gets successfully created.

Templates in Oracle SOA Suite 12c

We can build new components from the existing component templates, the new component imports all the artifacts which are there in the component template.

Below are the steps to create a new component using the component template:

1.Right-click on the service component lane and select the insert option. Choose Component Template.

Templates in Oracle SOA Suite 12c

2.Select the Component Template on the basis of which you want to configure your new component and hit Ok.

Templates in Oracle SOA Suite 12c

Custom activity Level Template: 

  • This template contains a set of activities of a BPEL process which may include assign, transform, invoke, and receive and partner link.
  • We can use this template in the same BPEL or in any other BPEL.
  • This template also contains all the variables, references and artifacts which are related to that activity. Custom activities will be available in the BPEL palette.

Below are the steps to create a custom activity level template:

1. All the activities which are required to be converted into a template are required to be pushed into a scope.

Templates in Oracle SOA Suite 12c

2. Right Click on the scope and select the option Create Custom Activity Template

Custom Activity Template

3. Specify the name of the template and select the location to create the template. Hit Next.

name of the template

4. Select all the dependent variables to be included in the Custom Activity Template. Hit Next.

dependent variable

5. Select all the dependent files and click finish.

finish

6.SOA Custom Activity Template gets successfully created.

SOA Custom Activity Template gets successfully created

7.This custom activity template gets added in the component pallette as shown below:

component pallete

We can reuse these custom activity templates by dragging them from the component pallette into BPEL.

So, this is all about the Templates and Levels of Templates 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
  • [Blog]Error Hospital in Oracle SOA Suite 12C Click here
  • Enterprise Manager Partition in Oracle SOA Suite 12c/11g Click here
  • Subprocess in Oracle SOA Suite 12C Click here

If You’ve not a part of 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.

Next Task for you:

Want to move ahead in your career and want to get a higher Earning Job?
Get 7+ Courses for DBAs & Apps DBA in a bundle program and learn from the Industry’s best Experts.

Oracle Bundle Training

Picture of mike

mike

I started my IT career in 2000 as an Oracle DBA/Apps DBA. The first few years were tough (<$100/month), with very little growth. In 2004, I moved to the UK. After working really hard, I landed a job that paid me £2700 per month. In February 2005, I saw a job that was £450 per day, which was nearly 4 times of my then salary.