You are on page 1of 4

1. We mostly know OSB is used for Message and Protocol Transformations. How OSB performs Protocol transformations?

By making sure service provider and service consumer are loosely coupled. This i s done in OSB by segregating the connectivity into two interfaces, one from serv ice consumer to OSB, as a Proxy and second from OSB to service provider, as a business service. Since proxy and busi ness services can have different transport protocols, OSB can perform protocol t ransformation between providers and consumers. 2. When OSB is integrated with a Messaging System, for an asynchronous messaging model, how is it possible for OSB to send a message in a queue and retrieve the response for the same, i,e how to map the request/response in a asynchronous me ssaging model? (I am not sure how correct the question is with respect to JMS co ntext) Can be done in two ways, using JMS correlation Id and JMS message Id. Both are s upported OOTB in Weblogic JMS and in OSB. More information here: http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=w eb&cd=1&cad=rja&ved=0CCsQFjAA&url=http%3A%2F%2Fdocs.oracle.com%2Fcd%2FE13171_01% 2Falsb%2Fdocs25%2Finteropjms%2FMsgIDPatternforJMS.html&ei=UeH-Ubf3II-zrAeOzIHgAQ &usg=AFQjCNGPo7PExYjSIRMFSFDZivayjS-5GA&sig2=4zz0RnSedP5p0SHl8duqlQ&bvm=bv.50165 853,d.bmk 3. Is it possible to run OSB without Weblogic Server? Please give supportive rea son to your answer No. 4. In which below mentioned situation you will encounter performance issue? A. A single M, B2B etc) m hosting a Scenario A. are running ce both CPU Admin Server running all SOA products (OSB, SOA suite components, BA or B. Multiple Managed Server running in a cluster where each of the single product/component? Since in this case all runtime components (not just the admin ones) on same weblogic instance it might overload the server. You might fa and Memory issues.

5. Give a high level implementation scenario WITH and WITHOUT OSB, what all diff erent component you will choose to design a solution where a source system puts a flat file into a location and the data has to be inserted to RDBMS. Basically to design a solution for this requirement with OSB and without OSB (using SOA su ite components). With OSB: 1. Proxy service with File transport along with MFL for text->XML conversion OR Proxy service with File Adapter 2. Business service with DB adapter (insert or insert and merge depending on req uirement) 3. Transform the flat file XML content in the proxy to the input format of the b usiness service and use a route node to invoke the business service. Add error h andling as required. Without OSB: 1. SOA composite with a file adapter in service lane. 2. Mediator component 3. DB adapter in reference lane 4. Mediator component connecting the adapters with a transformation included.

6. What is the difference between OER and OSR, what they are used for? (I have d one googling but still waiting for an expert answer) In very short, OER can be used for all information regarding SOA services and re sources (including any design documents, mappings, descriptions, usage informati on etc.) while OSR is UDDI compliant registry and will be used to store only the runtime service meta info like servi ce endpoint, WSDL etc. OSR will also provide UDDI compliant methods for looking up the service 7. How MDS is used for provisioning a service? (Previously I was under impressio n that it used for maintaining run time metadata of SOA service infrastructure) 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 ma intain multiple copies of common artifacts. 8. Give a complete business scenario where you will implement , mediator, OSB , DB adapter, Fileadapter and Business Rules. You can take any use case and define requirements such that all of these are use d. 9. Is it possible to use mediator as a standalone component without interacting to other SOA suite component? Give a business scenario Yes. Check the answer for Q. 5 for instance. 10. Does EM console provides you a feature where you can search a payload based on a consumer data (provided it is not hidden) like invoice number or customer m obile number etc? Yes, depending on how you are logging stuff and audit levels etc. You can set co mposite title with the relevant data (for ex. customer id from payload) and then search in EM console for that. Or you can use sensors to log the payload and th en search. 11. Is possible to deploy a proxy which consuming a message from a queue/topic w ithout any message selector? How about multiple proxys polling from a same queue without a message selector, which one will consume the message? You can have a proxy consuming messages from a queue/topic without a message sel ector. You cant have two proxies listening to same Queue (with or without message selec tor). You can have two proxies listening to same topic (with or without message select or). Both will receive a copy of the messages, and then will consume the message s depending on the selector. 12. Is it possible to establish a connection to a message system (JMS/MQ) withou t creating a JMS connection factory? No 13. What is local protocol in OSB and what are advantages of this? Give a real l ife scenario. In short same thread from the calling proxy will be used for processing a local proxy. Performance wise better. Easier to chain services and create moduler inte

rfaces. 14. How you would configure a proxy service to poll from a multiple queues? Give the details what setting has to be done in proxy configuration? Proxy service can not poll from different queues. It can however poll from a dis tributed queue or same queue running on multiple servers by providing a comma se parated list of listen addresses before JNDI name in the endpoint URL. 15. Assume in a distributed OSB system there are 2 MS running. A file adapter ha s been configured to read a file from a particular location. What location you p refer to give as an input? any place of MS1 or MS2? Ideally both MS1 and MS2 should be mounted on a shared filesystem and then you c an provide either of the them. 16. In a distributed OSB system, if you have been asked to create 2 separate que ues residing on 2 MS, how you will implement this? You can either created uniformly distributed queue, or you can also create diffe rent queues and target them on different servers but having same JNDI names. 17. What are the other standard ways of doing message transformation apart from XQuery/XSLT? Java Callout, MFL, NXSD, External Xquery Resource, External XSLT resource, XQuer y expression within actions, XSLT expression within actions. 18. In Oracle Weblogic Server we all know that, in data-source configuration max Capacity determines the max number of active connections in the pool. Think of s cenario where in a certain DS has maxCapacity of 100 and initial of 30. The appl ication can't use more than 60 connection at a time. Still Weblogic is throwig C onnectionPool is issue (No connection in pool). What is the probable cause of th is? What is the debugging strategy? Connections might not be getting released or refreshed correctly. Reduce the shr ink frequency and provide an Inactive conneciton timeout. 19. Does OSB provides weight based load balancing like 25% of load to BackEnd1, 50% of load to BackEnd2 and rest 25% of load to BackEnd3? Yes it does. 20. How Throttling is implemented in OSB? In memory queue is used to store messages temporarily. Business service will thr ottle messages going to the backend and depending on configuration of busienss s ervice, will keep messages over the specified limit in an in memory queue(up to a specified no of max messages) to ensure that backend is not overloaded. 21. How Transactions are configured in OSB? How you would set the transaction ti me-outs? Too vast a question to answer here. A lot of different possible scenarios and di fferent configurations depending on transport protocol. 22. If a proxy is talking to multiple DB (via multiple business services) what c onnection factory you will prefer, XA or nonXA? (I know XA CF has to be created if there are transactions involvement, but how to represent that as a business s

cenario) From a business perspective, if all the backend databases need to have data in s ync then use XA. If backend DBs are independent and if a mismatch in data betwee n backends is not an issue then use non XA(better performance). Added Questions on 3rd Aug -2013 23. In a business system, OSB is talking to a DB, doing some update operation an d then calling a web service. This is absolutely sequential. Ideal happy scenari o is, DB updated successfully and web service returning a Success. For a given t ransaction, OSB updates a table in DB successfully but while talking to web ser vice it receives a fault response. Effectively the transaction has to be rolled back, what is the best way to it? What changes you will do in your design so tha t Db Table returns into previous state. If you feel there is any restriction to achieve this, please mention. [ANSWER EXPECTED] 24. A source system puts files into a mount point. OSB then picks it up and proc esses, after processing is done OSB deletes that file. After sometime it is obs erved that, the speed source system is putting the file is quite higher than OSB processing it. So all on a sudden, source system is facing space issues in moun t points (because OSB slowly processing it), What design level changes can be do ne to to overcome this scenario? You are free to add any components in OSB/Weblo gic level. [ANSWER EXPECTED] 25. What are advantages of using File Adapter than OSB with File Protocol? [ANSW ER EXPECTED] 26. Flow activity gives you the parallel processing capabilities in BPEL. Other than Flow activity how parallelism can be achieved in BPEL? [ANSWER EXPECTED] 27. Apart from SSL, give other examples of transport level security used/can be used in OSB? [ANSWER EXPECTED] 28. Assume a situation, where OSB is talking to a UDDI. It is using UDDI's helpe r service for authentication and authorization, once basic authentication/author ization is done. UDDI issues a token to OSB which remains valid for sometime. As long as token is valid, OSB can do some stuff (calling some other webservices, talking to DB etc etc), once the token expires, OSB has to re-authenticate. How does OSB keep the track of token expiration? If OSB has received a same request again and again, how it will cache the token to save re-authentication? Is ther e any properties in OSB [ANSWER EXPECTED] 29. Is it possible to talk to a DB (Oracle) only using Java Call outs in OSB? As sume required thin drivers are present in Weblogic Containers.[ANSWER EXPECTED] 30. Does OSB supports DVM (Domain Value Mapping)? How it can be implemented, giv e an example of working model. [ANSWER EXPECTED] 31. In a situation, where a back end web service has to be called and web servic e call is the terminal action of that implementation. Which OSB action is prefer red out of Routing and Service CallOut ? Give Reasons. [ANSWER EXPECTED]