Oracle OSB-SOA-BPEL Interview Question and Answer – Part 4

In this article, we will discuss interview question with their justification on Oracle OSB, SOA and BPEL

This is part-4 of Oracle OSB-SOA-BPEL interview question series

Q) Whether OSB support REST?

  • Yes, OSB supports Restful Web services for invoking enterprise information service

Q) Why do you need Restful WS in OSB, when you have more reliable & mature SOAP support in OSB?

  • Because there may be number of already exposed Restful Services for a organization
  • To make use of these services & integrate with OSB, we need REST support in OSB

Q) Exactly how does it support? Or say how to implement in OSB?

  • Create Restful Web Service & make available in application server i.e.; expose the newly created restful services/existing services
  • Business Service
    1. Use the messaging service type with the HTTP transport protocol
    2. Use request type none and Response type text. (Or whatever you want to set for input/output)
    3. Also set the HTTP method to GET/POST
  • Proxy Service
    1. Use the messaging service type with the HTTP transport protocol
    2. Use request type none and Response type text. (Or whatever you want to set for input/output)
    3. Use routing action to invoke the above business service (already designed)

Q) Can we achieve REST implementation in OSB?

  • Yes we can achieve REST service implementation in OSB
  • It can be implemented using Branch Nodes

Q) What does it mean by VETRO concept ?

  • VETRO stands for
    • V – Virtualization/Validation
    • E – Enrichment
    • T – Transform
    • R – Route
    • O – Operate

Q) How we can connect to Database from OSB ?

  • We need to first create one JCA based DB adapter to connect to the database
  • Then we need to create that JCA based Business Service
  • We need to call that Business Service to perform database operations

Q) Is there any other way to connect to Database without using JCA adapter ?

  • Yes we can use XQuery execute-sql() function to connect to database
  • But it is better to use JCA adapters

Q) How can we achieve parallel processing in OSB ?

  • SPLIT JOINS are meant for parallel processing
  • So we need to implement Split – Join resources to achieve parallel processing

Q) What are the transformation resources available in OSB ?

  • In OSB we can use XQuery or XSLT for transforming messages

Q) How to poll file in OSB ?

  • To poll file in OSB, use file transport from Proxy Service and define required components like
    • \File Mask
    • Polling Interval
    • Read Limit
    • Post Read Action, etc.,

Folks, it’s your turn to comment & suggest for improvement

Note: We have taken inputs from various folks and other weblog for making this comprehensive set of Oracle SOA-OSB interview & answers

Related Articles :

Happy Coding !!
Happy Learning !!

Oracle OSB-SOA-BPEL Interview Question and Answer - Part 5
Oracle OSB-SOA-BPEL Interview Question and Answer - Part 3