Tuesday, September 1, 2020

SOA IQA Basics Part-3

 

Q) What Are The Components Comprise An Oracle Soa Suite Installation?

The following components comprise an Oracle SOA Suite installation:

o    Service Infrastructure

o    Oracle Mediator

o    Oracle Adapters

o    Business Events and Events Delivery Network

o    Oracle Metadata Repository

o    Oracle Business Rules

o    Oracle WSM Policy Manager

o    Oracle BPEL Process Manager (Business Process Execution Language)

o    Human Workflow

o    Oracle Business Activity Monitoring

o    Oracle User Messaging Service

o    Oracle B2B

o    Oracle JDeveloper

o    Oracle Enterprise Manager

Q) What Is The Purpose Of Oracle Adapters?

Oracle Adapters use JCA (Java Connector Architecture) technology to connect external systems to the Oracle SOA Suite. 

Oracle SOA Suite provides the following technology adapters to integrate with transport protocols, data stores, and messaging middleware:

o    BAM

o    FTP

o    Java Messaging Service (JMS)

o    Advanced Queuing (AQ)

o    Files

o    Message Queuing (MQ) Series

o    Legacy Adapters

o    Application Adapters    

Q) What Is The Purpose Of Business Events?

Business events are messages sent as the result of an occurrence or situation, such as a new order or completion of an order. 

In Oracle SOA Suite, the mediator service component subscribes or publishes events. When an event is published, other applications can subscribe to it. 

Q) What Is Oracle Metadata Repository?

Oracle Metadata Repository MDS stores business events, rulesets for use by Oracle Business Rules, XSLT files for Oracle Service Bus and Oracle Mediator, XSD XML schema files for Oracle BPEL Process Manager, WSDL files, and metadata files for Complex Event Processing.

MDS –Metadata Store 

Wsdl and Schemas to be used in the process can be published to the MDS and get it used in the code by referring the artifacts from the MDS 

Advantages:
JAR (Deployment unit) size will be reduced. 
Duplication of the artifacts can be avoided between the services.

How MDS is used for provisioning a service?

MDS will be used for storing service artifacts like Schemas and WSDLs which will be available to composites at both runtime and design time.

The most basic use of MDS is for easy reuse and maintenance of artifacts so one does not have to maintain multiple copies of common artifacts.

Q) What Is Oracle Business Rules Used For?

Oracle Business Rules, initiated by a BPEL process service component, enable dynamic decisions at runtime. In addition, the human task and mediator service components can make use of rules for dynamic routing.

 Q) What Is The Purpose Of Oracle Wsm Policy Manager?

Oracle WSM Policy Manager provides the infrastructure for enforcing global security and auditing policies in the Service Infrastructure.

Q) What Is The Purpose Of Oracle Service Bus?

Oracle Service Bus provides standalone service bus capabilities, enabling separation between application developers and target systems or services. Oracle Service Bus receives messages through a transport protocol such as HTTP(S), JMS, File, and FTP, and sends messages through the same or a different transport protocol.

Service response messages follow the inverse path. Oracle Service Bus handles the deployment, management, mediation, messaging, security and governance of implementing SOA to enterprise applications.

Q) What is end point virtualization?

Generally a service bus is used for endpoint virtualization and in 11g stack; Oracle Service Bus (OSB) is the primary service bus. In exposed proxy's message flow, it can route the request to any of your environment's actual (physical) service on the basis of whatever logic.

Mediator can also be used to expose the service and in mediator routing rule, it can be routed to actual service.

Q) What Is Schematron Validation?

You can specify Schematron files for validating an inbound message and its various parts.

Schematron version 1.5 is the supported version.

Schematron is an XML schema language, and it can be used to validate XML.

Q) How is choreography different from orchestration?

During choreography, systems get integrated without following any business processes.

There is no process defined to control the integration and it is done as per the defined sequence of levels.

In Orchestration, a central process which can be a Web Service itself controls the other web services involved in the integration of systems.

This central coordinator will coordinate the execution of various operations of web services involved in the operation and completes the integration.

Q) What is Decision service?

Oracle SOA Suite provides support for Decision components that support Oracle Business Rules. A Decision component is a mechanism for publishing rules and rulesets as a reusable service that can be invoked from multiple business processes. These rules can be changed without redeploying the code.

Q) What is the difference between XREF and DVM?

XREF- It is dynamic since the values to the XREF can be populated dynamically and it is stored in XREF_DATA table in SOA Dehydration store.

DVM- Domain Value Map is static mappings between a source and target system which can be used in transformations. The value can be changed  via  SOA composer.

Q) What Is The Purpose Of Xsl Transformations?

XSLT processes XML documents and transforms document data from one XML schema to another.

Q) How can we improve the performance of an XSL file?

By avoiding use of various if statements and using choose, and by using for-each group in place of for-each.

Q) How to deploy an XSL file without deployment of BPEL Process?

We will directly deploy the XSLT, options: -

·                       Using ANT script by file replacement in TMP folder.

·                       By creating a folder in BPEL PM installation folder and specifying its location in our BPEL code with http call and replacing our xslt to that location.

Q) HumanTask:

The business process requires an element of human intervention. There are cases where fully automated business processes also require human intervention while managing error /exception.

-          Integrate with people for manual intervention.

-          Assign right users or group with the tasks.

(Genral, Data, Assignment, Presentation, Deadlines, Notification, Access, Events, Documents)

Human Workflow Components:

Human Task:  Task or work assign to user, role or group.

Participant:  users or set of users identified for a task based on some business policy and to which task is routed.

Notification: A message sent to a user or a group assigned to a task.

Work list: An web based application for the users to log-in and act on tasks.

Human task Editor:  A tool used to define/modify  the task settings  and parameters.

Human task configuration is stored in a .task metadata file that is deployed with the project.

Operation

single Participant

Chain Participant

FYI Participant

Parallel Participant

Stage    

To create users:

"console -> Security Realms -> myrealm -> Users and Groups -> new -> name,password,confirmPassword: -> u

serCreated successfully"

Task Parameter:

Add Task parameter in the parameter section of the .task

Define the type of parameter as simple type or xsd element type.

Map the parameter value with a corresponding BPEL variable.

Generate a task form.

Q)  How Can We Embed Or Use A Java Code In Bpel?

Using JAVA embedding activity in BPEL, Java code can be embedded in BPEL and can be used.

Q) How does pick activity differ from a receive activity?

Pick activity can act as a multiple receive activity in some business scenarios. If we have two inbound operations and both can trigger the bpel process then we will go with pick activity as we can’t have two receive activity with create Instance box checked.

Q) What is a pick activity? Can I have a pick activity with no onMessage branch?

Pick activity picks the messages from service (Source) which has multiple operations or the BPEL process needs to receive the messages from multiple source system. Pick activity should have at least on Message branch.

Q) What is a flow activity? What is a flowN activity and how does it leverages the flow activity?

Flow activity is used, when parallel execution of the flow is needed and to use this property “non blocking invoke should be set as true “at the partner link level and no. of execution of parallel flow is defined and static. Where as in Flown the no. of execution of parallel flow is not static and it is determined during run time.

Q) What is a nonBlockingAll property?

Non- blocking invoke is used when Parallel flow needs to be executed where new thread will be created for each invoke a activity and which will execute simultaneously.

Q) What is singleton Property in SOA?

In the clustered environment when the processing of the message should happen via only one SOA managed server, then the property singleton needs to be defined at the adapter level.

 Q) Difference between Uri And Url?

o    A URI is an identifier for some resource, but a URL gives you specific information as to obtain that resource. 

o    A URI is a URL and as one commenter pointed out, it is now considered incorrect to use URL when describing applications. Generally, if the URL describes both the location and name of a resource, the term to use is URI. 

o    Since this is generally the case most of us encounter every day, URI is the correct term.

Q) Does Fusion Application Have Flex Field Feature?

Yes, similar to EBS, fusion application have flex feild concept. Fusion is supporting mainly three types of flexfields

1. Descriptive flexfields

2.    Extensible flexfields

3.    Key flexfields

 These flexfield enables enable implementers to configure application features without programming and fully supported within Oracle Fusion Applications.

Q) What is a flexfield? List out its types

Flexfield is a database field possessing inbuilt flexibility of defining reporting structure, which is relevant to specific organizations. A flexfield is made up of segments or subfields.

Given below are the two types of flex fields:

Key FlexFields: They are used to record key data elements.

Descriptive FlexFields: They are user-defined flexfields and can be customized.


No comments:

Post a Comment

SOA Overview Part-1

  Middleware It provides a mechanism for the process to interact with other processes running on multiple network machines. Advantages...