Oracle SOA (Service-Oriented Architecture) is a suite of tools for building and deploying distributed applications. It includes a set of standards, services, and interfaces that enable the integration of diverse applications and systems within an enterprise. SOA enables loose coupling of services, which makes it easier to change, add, or remove individual services without affecting the overall system. Here are some common Interview Questions you may encounter when interviewing for a position involving Oracle SOA
In this article, we will cover the following:
Most frequently asked Oracle SOA Interview Questions
Ans: SOA is an IT architecture strategy for business solution (and infrastructure solution) delivery based on the concept of service orientation. It is a set of components that can be invoked, and whose interface descriptions can be published and discovered. It aims at building systems that are extensible, flexible, and fit with legacy systems. It promotes the reuse of basic components called services.
Ans: Service is an important concept. Services can be published, discovered, and used in a technology-neutral, standard form by the set of protocols of the web services. Other than being just architecture, SOA is the policies, practices, and frameworks by which it ensures the right services are provided and consumed. It becomes critical to implement processes that ensure that there are at least two different and separate processes— one for the provider and the other for consumers, using SOA. The Business Service Bus is a starting point for developers that guide them to a coherent set that has been assembled for their domain. This is better than leaving developers to discover individual services and put them into context
Ans: One of the challenges faced by SOA is managing service metadata. The second biggest challenge is the lack of testing in the SOA space. Another challenge is providing appropriate levels of security. Interoperability is another important aspect of SOA implementations. Vendor hype concerns SOA because it can create expectations that may not be fulfilled.
Ans: Service-Oriented Architecture (SOA) governance is a concept used for activities related to exercising control over services in an SOA Some key activities that are often mentioned as being part of SOA governance are:
Ans: SOA can help businesses respond more quickly and economically to changing market conditions. SOA can be considered an architectural evolution. It captures many of the best practices of previous software architectures. The goal of separating users from service implementations is promoted by SOA. The goals like increased interoperability increased federation, and increased business & technology domain alignment can be achieved by SOA due to its architectural and design discipline. SOA is an architectural approach for constructing complex software-intensive systems from services. SOA realizes its business and IT benefits by utilizing an analysis and design methodology when creating services.
|Inclined to build a profession as Oracle SOA Admin? Then here is the blog post on, explore Oracle SOA Training|
Ans: IT benefits of SOA are:
Ans: No, because SOA is one of the parts of Fusion middleware and SOA behaves like a user interface whereas Fusion is a big platform
Ans: Service Component Architecture (SCA) provides a programming model for building applications and systems based on a Service Oriented Architecture. SCA is a model that aims to encompass a wide range of technologies for service components and for the access methods which are used to connect them.
Ans: In choreography, there is no business process to control the integration between the systems; each system will directly integrate into the sequence whereas in Orchestration there is a business process that controls all the services (Source/Target) which is part of the integration.
Ans: The receiver Threads property specifies the maximum number of MDBs that process Async across all domains. Whereas the dspMaxThread is the maximum number of MDBs that process Async and threads that operate across a domain. So, we need to ensure that the dspMaxThread value is not greater than Receiver Threads.
Ans: The sequences of events involved in the delivery of invoking messages are as follows:
Ans: For the transaction, the timeout needs to be increased, all the below settings timeout value needs to be changed to the expected Timeout value.
Ans: Yes, it is possible.
To automatically maintain long-running asynchronous processes and their current state information in a database while they wait for asynchronous callbacks, you use a database as a dehydration store. Storing the process in a database preserves the process and prevents any loss of state or reliability if a system shuts down or a network problem occurs. This feature increases both BPEL process reliability and scalability. You can also use it to support clustering and failover.
Ans: DVM-Domain Value Map is static mapping between a source and target system which can be used in transformations. The value can be changed via the SOA composer.
Ans: The dehydration store is the database where the instances get stored when it gets dehydrated by the process of the occurrence of non-idempotent activities and also stores the information on the long-running processes.
Ans: Oracle SOA Suite provides support for Decision components that support Oracle Business Rules. A Decision component is a mechanism for publishing rules and rule sets as a reusable service that can be invoked from multiple business processes. These rules can be changed without redeploying the code.
Ans: OSB is the lightweight service bus wherever there is not much business logic involved and there is a need to just get the message routed between the systems OSB is used whereas when there is more business logic involved in the process, then BPEL will be used.
Ans: An XA transaction involves a coordinating transaction manager, with one or more databases (or other resources, like JMS) all involved in a single global transaction. Non-XA transactions have no transaction coordinator, and a single resource is doing all its transaction work itself (this is sometimes called local transactions).
Ans: When accessing the services should be restricted to the group, and then the service should be secured via WSM (Web Service Manager).
Ans: We will directly deploy the XSLT, options:
In the clustered environment, File and FTP adapters should be used as HA (High-Availability)
It is controlled by Control Files and avoids the race between the managed servers in reading the files where the reference of the files read by the managed servers will be maintained in the control directory.
It is controlled by the DB Mutex table that exists in the SOA dehydration store and this avoids duplicates being written to the same file when all the managed servers in the clusters process the same messages.
Ans: 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.
Ans: Pick activity picks the messages from service (Source) which has multiple operations or the BPEL process needs to receive the messages from multiple source systems. Pick activity should have at least one Message branch.
Ans: 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. Whereas in Flown the no. of execution of parallel flow is not static and it is determined during run time.
|Check out our new blog on Oracle SOA Tutorial|
Ans: Activities like Pick, Wait, receive, reply, and checkpoint() are called non-Idempotent activities and during the execution of the process whenever these activities are encountered they get dehydrated to the dehydration store.
Ans: Using JAVA embedding activity in BPEL, Java code can be embedded in BPEL and can be used.
Ans: 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 the pick activity as we can’t have two receive activities with the create Instance box checked.
Ans: If we have to send the request to a different service that has the same wsdl then a dynamic partner link will be used and using addressing schema we can set the endpoint dynamic to send the request to the desired service.
Ans: Non-blocking invoke is used when Parallel flow needs to be executed where a new thread will be created for each invokes activity and which will execute simultaneously.
Ans: Hard coding is not a good practice, so to avoid hard coding preference variables can be used and the value of the preference variable is accessed using get preference(). The preference variable value can be changed without redeploying the code via em console MBean property.
Ans: By avoiding the use of various if statements and using choose and by using for-each group in place of for-each.
Durable: It is a long-running process initiated through a one-way invocation and does incur one or more dehydration points in the database during execution
Transient: It is a short-lived process, request-response style processes, and does not incur dehydration during the process execution
Ans: Whenever the services return the response in a few seconds, it is recommended to go for an asynchronous BPEL process if not the BPEL process should be Asynchronous the reason is calling the application can’t proceed further in case of an asynchronous process.
Ans: When the file has to be read in the mid of the BPEL process, then we will use syncFileRead Operation, which means some processes should initiate the file read process and it is an outbound operation and the process can’t begin with Sync File read.
Ans: Yes, by selecting the Do not read file content checkbox in the JDeveloper wizard while configuring the "Read operation."
Ans: We can increase the performance by writing indexes and sequences.
(Or) Go to application server ----> Configurations -----> Change Xml file
Ans: EHF –Whenever any error is thrown by the BPEL process/Mediator then EHF will check whether existing in the Fault-Bindings.xml files and if so then the action in the Fault-Policy.xml file will be taken and if the action is not found then the fault will the thrown and it will be handled in the catch block.
Ans: Throw activity will explicitly throw the fault and this fault will get caught by the catch block and the corresponding actions will get executed.
Ans: Web service is a type of software system that is used to exchange data and use information from one machine to another machine through the network. Generally, Web services are based on standards such as TCP/IP, HTTP, Java, HTML, and XML. Web services are pure XML based which is used for exchanging information through the Internet to direct application-to-application interaction. These systems include programs, objects, messages, or documents. Many software applications written in various programming languages and running on various platforms can use web services to exchange data over computer networks. You can develop Java-based web services on Solaris and that is accessible from your V.B Program that runs on Windows.
Ans: A URI is an identifier for some resource, but a URL gives you specific information to obtain that resource. 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. Since this is generally the case most of us encounter every day, URI is the correct term.
You liked the article?
Like : 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.
Get stories of change makers and innovators from the startup ecosystem in your inbox