Java Integration
Transform Anything with Java
Oracle Service Bus Interview Questions
1. What is the use of OSB
OSB is used to convert point to point complex integration to simplified, agile and reusable shared service application.
2. How can you generate file based events using OSB
We can use proxy services that can poll FTP and SFTP servers.
3. Can we invoke an EJB method from OSB
EJB can be invoked as web services by registering the business services with EJB transport.
4. How can parallel processing be done using OSB
There is a feature called split-join in OSB. A request can be broken into multiple childs each of which can be processed parallelly and later joined.
5. For a proxy service listening to a JMS queue how can you ensure that JMS message is retried if an error occurs during processing.
Use an XA JMS Connection factory in jms url.
6. What is the purpose of Stage components in Service Bus.
They are containers for actions. A stage is the smallest group to have its error handling
7. How can you jump control from one stage to next stage without using if then else logic.
Use the skip action.
8. How can you end a Proxy flow without using if then else logic.
By a reply action.
9. What is a correlation
A correlation is used to to track the request and its corresponding response. It is specifically very important with Async calls.
10. What is a Proxy Service.
It is the service that is published by OSB.
11. What are the different types of pipelines.
Request and Response pipelines.
12. Does OSB support REST.
By defining the proxy service as and XML service, we can accept and return XML in any flavour.
13. What is pipeline in a OSB perspective
Pipeline pairs are request and response pipelines. Request pipeline defines the actions that OSB performs on the request message. The response pipeline specifies the actions that OSB performs on response pipeline.
14. What is message enrichment.
Adding or deleting some element from the message is called message enrichment.
15, What is location transperancy.
OSB will hid the actual business process from the consumers. It is called service virtualization.
16. Differentiate OSB and mediator.
Mediator is an internal component part of SCA. Mediator has the below functionality.
Cross Referencing(XREF) : referencing key and fields from seperate systems by means of storing a mapping table.
Domain value Maps(DVM)
Schema Validation : Validate XML Payloads
OSB is a fully fledged standalone stateless ESB.
The main difference is mediator is intra-composite mediation while OSB is inter-composite mediation.
17. What is split join and types of Split Join.
Split Join is a OSB feature that is used to split input message and process them with various business logic. There are two types
Static Split Join : Split into fixed number of branches at the design time.
Dynamic split join : the split is created dynamically based on the conditions defined during the design time.
18. What is a Message flow.
Message flow is there in proxy service. We do transformation, rouring and other processing in message flow.
19. Can we call Java code from OSB.
There is a Java callout activity which can be used to call Java code.
20. Can we use more than one route node in message flow.
We can use only one route node in proxy service message flow.
21. How can we call asynchronous service from OSB and get a response back.
By defining ReplyTo value so that asynchronous service response came to CallSyncCompositeProxy service.
22. What is throttling in OSB.
Throttling is part of endpoint management where we can specify the number of parallel threads the endpoint can have.
23. How can we transform binary to XML and vice versa.
We can use MFL
24. Can we use MDS and DVM's in OSB.
No.
25. How Security works in OSB.
OSB leverages OWSM and the native Weblogic Security Framework.
26, Can we invoke secure web service using OSB.
OWSM client policy can be used to invoke a secure service.
27. What are the different categories of Security in OSB.
Transport Level
Message Level
28. What is Service Polling in OSB.
Part of OSB Endpoint management, we can define multiple URL for Business service. If one service, the next service will be used to manage availablity.
29. What is Service Result Caching
It is a feature available to cache the response received from a business service. OSB will not call Business service in case the response is in cache.