{"id":178,"date":"2017-05-13T01:46:20","date_gmt":"2017-05-13T01:46:20","guid":{"rendered":"http:\/\/www.gologica.com\/blog\/?p=178"},"modified":"2025-04-06T02:33:52","modified_gmt":"2025-04-06T02:33:52","slug":"soa-bpel-mediator-osb-development-12c-interview-questions","status":"publish","type":"post","link":"https:\/\/www.gologica.com\/elearning\/soa-bpel-mediator-osb-development-12c-interview-questions\/","title":{"rendered":"SOA BPEL Mediator OSB Development 12c Interview Questions"},"content":{"rendered":"<p><strong>What is Oracle Service Bus or OSB ?<\/strong><\/p>\n<p>The larger, powerful service bus<\/p>\n<p>Used for message brokering<\/p>\n<p>Message Transformation over XQuery &amp; XSLT<\/p>\n<p>Extended functionality important for enterprise-wide integration like<\/p>\n<p>Message Throttling<\/p>\n<p>Service Pooling<\/p>\n<p>Reliable Messaging<\/p>\n<p>Development through Eclipse IDE or Service Bus Console<\/p>\n<p>OSB specific deployment<\/p>\n<p><strong>What are the key features of Oracle Service Bus or OSB ?<\/strong><\/p>\n<p>Supports Multiprotocol Messaging<\/p>\n<p>Enables Location Transparency<\/p>\n<p>Handles Dynamic Routing<\/p>\n<p>Enables Message Transformation<\/p>\n<p>Enables Service Orchestration<\/p>\n<p>Supports Message Enrichment<\/p>\n<p>Provides Service Security<\/p>\n<p>Implements Service Level Agreement<\/p>\n<p><strong>Explain in detail about key features of Oracle Service Bus or OSB ?<\/strong><\/p>\n<p>Dynamically transform and route services using simple and\/or complex routing rules and\/or message payloads<\/p>\n<p>Ability to orchestrate services from existing IT systems with disparate messaging protocols without needing to change the systems and styles<\/p>\n<p>Isolate service location changes<\/p>\n<p>Rapidly respond to business needs by quickly configuring routing rules based on changes to business rules or existing IT systems, without coding<\/p>\n<p>Orchestrate several services to create new one<\/p>\n<p>Supports message enrichment<\/p>\n<p>Enables optimized, pluggable, policy-driven transport and message level security<\/p>\n<p>Implements rules-driven, configurable Service Level Agreement (SLA)<\/p>\n<table style=\"background: #d9dde2;\">\n<tbody>\n<tr>\n<td style=\"border: 1px solid black;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/www.gologica.com\/course\/soa-bpel-mediator-osb-development-12c\/\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-2801\" src=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1.jpg\" alt=\"SOA BPEL Mediator OSB Development 12c Training\" width=\"850\" height=\"200\" srcset=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1.jpg 850w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1-460x108.jpg 460w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1-768x181.jpg 768w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1-100x24.jpg 100w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1-600x141.jpg 600w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1-120x28.jpg 120w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-1-310x73.jpg 310w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p><strong>Describe OSB\u2019s role as a Message Broker ?<\/strong><\/p>\n<p>A message broker is an architectural pattern for message validation, message transformation and message routing<\/p>\n<p>It mediates communication amongst applications, minimizing the mutual awareness that applications should have of each other in order to be able to exchange messages, effectively implementing decoupling<\/p>\n<p>OSB Message broker:<\/p>\n<p>Decoupling (via interfaces)<\/p>\n<p>Routing: provides routing to the correct service instance according to technical or functional data to take into account the partitioning of the components business applications<\/p>\n<p>Message transformation and enrichment<\/p>\n<p>Service composition\/aggregation<\/p>\n<p>Light orchestration (stateless)<\/p>\n<p>Version management<\/p>\n<p>Protocol break<\/p>\n<p>Message validation<\/p>\n<p>Error handling<\/p>\n<p>Content Control<\/p>\n<p>Schema Validation<\/p>\n<p><strong>What are some of the major protocols that OSB supports ?<\/strong><\/p>\n<p>HTTPS<\/p>\n<p>SOAP<\/p>\n<p>JMS<\/p>\n<p>SMTP\/POP\/IMAP<\/p>\n<p>Tuxedo<\/p>\n<p>EJB<\/p>\n<p>Native MQ<\/p>\n<p>File<\/p>\n<p>FTP<\/p>\n<p>STFP<\/p>\n<p>Email<\/p>\n<p><strong>What is meant by Location Transparency ?<\/strong><\/p>\n<p>A service bus is used for endpoint virtualization<\/p>\n<p>In 11g stack, Oracle Service Bus (OSB) is the primary service bus<\/p>\n<p>So, we can expose proxy service at OSB t0 outside world and in exposed OSB proxy message flow, route incoming request to any business service on the basis of routing logic<\/p>\n<p>Note: alternatively, use Mediator in SOA 11g to expose service and use mediator routing logic to route to actual service<\/p>\n<p>OSB Location Transparency:<\/p>\n<p>OSB creates \u201cLocation Transparency\u201d through isolation of consumers from service providers and act as a proxy layer to transport the message<\/p>\n<p>OSB can be used to isolate service location changes<\/p>\n<p><strong>What is Message Enrichment ?<\/strong><\/p>\n<p>Getting additional information from the existing service using Service Callout option<\/p>\n<p>And then adding\/inserting this additional information (required) into an incoming message\/request XML before it route to the service endpoint<\/p>\n<p>In OSB 11g, it is Business Service<\/p>\n<p>Sometimes, you may have legacy application coded in core Java or EJB, and then at times you may need Java Callout<\/p>\n<p><strong>Where does the Service Bus fit in the SOA landscape ?<\/strong><\/p>\n<p>Significance of OSB in an SOA Landscape<\/p>\n<p>Oracle Service Bus is at the heart of Oracle\u2019s comprehensive business integration solution and belongs to the Oracle Messaging product line<\/p>\n<p>Oracle Service Bus is primarily targeted for managing different types of services, and providing traditional message brokering across heterogeneous IT environments<\/p>\n<p>The lightweight, stateless, high-performance architecture of Oracle Service Bus and its converged intelligent message mediation and service life cycle management capabilities, make it an ideal core component of distributed services networks<\/p>\n<p>It is designed to fit into the broader IT Service-Oriented Architecture (SOA) landscape as a distributed service management intermediary and can be integrated with other Oracle business process management solutions in distributed heterogeneous deployments<\/p>\n<p><strong>How does a Service Bus facilitate a loosely coupled architecture ?<\/strong><\/p>\n<p>Described solely by its interface contract and behavioral attributes (i.e. hides its implementation and facilitates loose-coupling)<\/p>\n<p>Loose Coupling of Services:<\/p>\n<p>Loose coupling is achieved through abstracting and resolving the differences between two or more systems in order to facilitate a seamless integration<\/p>\n<p>An ESB\/OSB provides or helps to mediate the differences along the following lines:<\/p>\n<ol>\n<li>Transport Protocol<\/li>\n<li>Interaction Pattern (message exchange pattern)<\/li>\n<li>Shape (Interface \/ Schema)<\/li>\n<li>Security Paradigm<\/li>\n<\/ol>\n<p>More definition for loose coupling of services:<\/p>\n<p>Oracle Service Bus establish loose coupling between service clients and business services<\/p>\n<p>OSB maintains the central point security and monitoring<\/p>\n<p>Oracle Service bus is an intermediary that processes incoming service request messages, determines routing logic, and transforms these messages for compatibility with other service consumers<\/p>\n<p>It 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<\/p>\n<p>SOA is a kind of architecture that uses services as building blocks to facilitate enterprise integration and component reuse through loose coupling<\/p>\n<p><strong>Explain OSB Service Orchestration ?<\/strong><\/p>\n<p>Combining existing services to make new services<\/p>\n<p>This is light orchestration as compared to the BPEL orchestration in SOA which may be Synchronous\/Asynchronous<\/p>\n<p>But in OSB 11g, it is stateless<\/p>\n<p>There are limitations with OSB 11g as compared to the BPEL\/SOA which could be used for maintaining states for hours\/days as per our business needs<\/p>\n<p><strong>What is a Proxy Service ?<\/strong><\/p>\n<p>A proxy service is what the service bus exposes to service consumers and implements the virtualization logic<\/p>\n<p>A proxy service can route messages to multiple business services; you can choose to configure a proxy service with an interface that is independent of the business services with which the proxy service communicates<\/p>\n<p>In such cases, you can configure a proxy service message flow definition to route a message to the appropriate business service and map the message data into the format required by the business service interface<\/p>\n<p>It is exposed to the calling applications or services<\/p>\n<p>Proxy services are Oracle Service Bus definitions of intermediary Web services that Oracle Service Bus implements locally on Weblogic Server<\/p>\n<p>You can think of proxy services as the services published by OSB<\/p>\n<p>Instead of your service clients calling the services directory, they call OSB proxy services instead<\/p>\n<p>Few more definitions of Proxy Service:<\/p>\n<p>Proxy services are definitions of generic intermediary Web services that are hosted locally on Oracle Service Bus<\/p>\n<p>A proxy service communicates with other services in the IT infrastructure through interfaces, which may or may not be identical to that of a service provider or service consumer business service<\/p>\n<p>Proxy services can route messages to multiple business services, using their configured independent interfaces<\/p>\n<p>Proxy services can be defined and configured using the Oracle Service Bus Console<\/p>\n<p>They are configured by specifying their<\/p>\n<ol>\n<li>interface<\/li>\n<li>type of transport OSB uses<\/li>\n<li>and their associated message processing logic<\/li>\n<li>Q) What is Message Flows in OSB ?<\/li>\n<\/ol>\n<p>Message flows are definitions used for implementing proxy services within Oracle Service Bus<\/p>\n<p>Message flow modeling involves configuration of message processing logic in proxy service\u2019s message flow definitions<\/p>\n<p>This logic includes activities such as transformation, publishing, reporting, and exception management<\/p>\n<p>You can use the graphical modeling tools available in Workspace Studio\/OEPE and in the Oracle Service Bus Console to perform message modeling<\/p>\n<p>Oracle Service Bus proxy service implementations are defined in message flow definitions using components such as<\/p>\n<ol>\n<li>Pipelines<\/li>\n<li>Branch nodes<\/li>\n<li>Route nodes<\/li>\n<\/ol>\n<p>Another explanation for Message Flow:<\/p>\n<p>In Oracle Service Bus, a message flow is the implementation of a proxy service<\/p>\n<p>You can configure logic for the manipulation of messages using proxy service message flow definitions<\/p>\n<p>This logic includes such activities as transformation, publishing, and reporting, which are implemented as individual actions within the stages of a pipeline<\/p>\n<p>Message flow in OSB is the most important part<\/p>\n<p>It defines the request message flow from Start Node to Route activity and also defines the response message flow from Route to Start Node<\/p>\n<p>It contains Pipeline Pairs, Branch Nodes, Route Nodes, Stages, and Actions etc<\/p>\n<p><strong>What is a Business Service ?<\/strong><\/p>\n<p>Business services are Oracle Service Bus definitions of the enterprise services that exchange messages during business processes<\/p>\n<p>A business service and its interface can be defined and configured using the Oracle Service Bus design-time tooling<\/p>\n<p>To configure a business service, you must specify its interface, the type of transport it uses, its security requirements, and other characteristics<\/p>\n<p>A business service definition is similar to that of a proxy service, but it does not have pipelines (a message flow)<\/p>\n<p>It connects to the EIS (Enterprise Information System) layer (<\/p>\n<p>In an enterprise architecture, EIS is typically a SOAP based Web Services<\/p>\n<p><strong>Can we expose any Business Service to external clients or subscribers ?<\/strong><\/p>\n<p>No, we cannot expose Business Services to external clients or subscribers<\/p>\n<p>We need Proxy Services to expose to external world<\/p>\n<table style=\"background: #d9dde2;\">\n<tbody>\n<tr>\n<td style=\"border: 1px solid black;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/www.gologica.com\/course\/soa-bpel-mediator-osb-development-12c\/\"><img decoding=\"async\" class=\"alignnone size-full wp-image-2803\" src=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2.jpg\" alt=\"SOA BPEL Mediator OSB Development 12c Training\" width=\"850\" height=\"200\" srcset=\"https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2.jpg 850w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2-460x108.jpg 460w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2-768x181.jpg 768w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2-100x24.jpg 100w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2-600x141.jpg 600w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2-120x28.jpg 120w, https:\/\/www.gologica.com\/elearning\/wp-content\/uploads\/2017\/05\/SOA-BPEL-Mediator-OSB-Development-12c-Interview-Questions-2-310x73.jpg 310w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p><strong>Can we have Proxy Services without Business Services ?<\/strong><\/p>\n<p>Yes we can have Proxy Services without Business Services, but that will be just a dummy service<\/p>\n<p>EIS layer cannot be connected using that Proxy Service<\/p>\n<p><strong>Explain Service Callout in OSB ?<\/strong><\/p>\n<p>Action is to be used in a Pipeline pair to call the services<\/p>\n<p>It should be noted that the Service Callout action is used only for invoking synchronous request-response operations<\/p>\n<p>OSB\u2019s service callout action offers greater flexibility for more sophisticated message flows<\/p>\n<p>The service callout action is used inside a message flow to call on another service registered within OSB to perform necessary action on the message<\/p>\n<p>The response returned by that service is assigned to a local variable<\/p>\n<p>The variable can then be used within the current message flow<\/p>\n<p>The service callout action can be used configure a synchronous (blocking) callout to an OSB-registered proxy or business service<\/p>\n<p>The service types that can be called could be \u2013<\/p>\n<p>WSDL Web Service<\/p>\n<p>SOAP<\/p>\n<p>Any XML Service<\/p>\n<p>Messaging<\/p>\n<p><strong>Whether OSB Service Callout is Synchronous or Asynchronous ?<\/strong><\/p>\n<p>Synchronous request-response used in pipeline-pair<\/p>\n<p>And it is blocking<\/p>\n<p><strong>Explain Java Callout in OSB ?<\/strong><\/p>\n<p>Sometime, you may have legacy application coded in core Java or EJB, and then at times you may need Java Callout<\/p>\n<p>Invoking \/ accessing method should be \u201cpublic\u201d and \u201cstatic\u201d<\/p>\n<p><strong>What are the different types of Pipelines ?<\/strong><\/p>\n<p>Request pipeline<\/p>\n<p>Response Pipeline<\/p>\n<p><strong>What is a Pipeline Pair ?<\/strong><\/p>\n<p>Pipeline pairs are request and response pipelines<\/p>\n<p>The request pipeline definition specifies the actions that Oracle Service Bus performs on request messages to the proxy service before invoking a business service or another proxy service<\/p>\n<p>The response pipeline definition specifies the processing that Oracle Service Bus performs on responses from the business or proxy service that the proxy service invokes before returning a response to a client<\/p>\n<p>NOTE: A Pipeline Pair node can have only one direct descendant in the Message Flow<\/p>\n<p>Stage: A stage is a container of related activities to manipulate messages passing through the pipeline<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Oracle Service Bus or OSB ? The larger, powerful service bus Used for message brokering Message Transformation over &hellip;<\/p>\n","protected":false},"author":1,"featured_media":2200,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[12],"tags":[],"coauthors":[182],"class_list":["post-178","post","type-post","status-publish","format-aside","has-post-thumbnail","hentry","category-oracle_intervew_questions","post_format-post-format-aside","user-has-not-earned"],"_links":{"self":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":6,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"predecessor-version":[{"id":3442,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/posts\/178\/revisions\/3442"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/media\/2200"}],"wp:attachment":[{"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/tags?post=178"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.gologica.com\/elearning\/wp-json\/wp\/v2\/coauthors?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}