IBM Websphere Process Server Interview Questions

IBM WPS Interview Questions
1. What is SOA?

A. SOA: SOA is a Service Oriented Architecture. Service-oriented architecture (SOA) is a software design and software architecture design pattern based on structured collections of discrete software modules, known as services that collectively provide the complete functionality of a large software application. Purpose of SOA is to allow easy cooperation of a large number of computers that are connected over a network. Every computer can run an arbitrary number of programs - called services in this context - that are built in a way that they can exchange information with any other service within the reach of the network without human interaction and without the need to make changes to the underlying program itself.

2. What is the Compensation in WPS and usage?

A. Compensation of microflows and long-running processes can be used to "undo" the outcome of service invocations that have already completed. It is used when choreographing non-transactional services. (If all the services were transactional, you could have them participate in a single transaction).

In long-running processes, compensation of activities that have successfully executed is initially triggered by a fault raised in the process, or can be explicitly triggered using a compensation activity. This is a useful technique for reversing the effects of already-committed transactions within a long-running process.

3. How can we handle exceptions in WPS?

A. Faults are used to signal problems in BPEL business processes. They can be caught by a Catch or CatchAll element in a fault handler. A Catch element specifies the fault that it catches by fault name and/or fault data. Unknown faults are caught by CatchAll elements.
Fault handlers can be defined for invoke activities, for scopes, or for the complete business process. They catch faults that are thrown in their scope. If a fault is thrown in a scope, but is not caught by the fault handler of that scope, it is automatically re-thrown to the next enclosing scope.If a fault reaches the process level the process ends in the state failed after the associated fault handler was processed.

4. What are import and export and difference?

A. An export allows exposing a service, so that the service can be called by a service requester. An import allows calling a service.

Imports and exports have associated bindings that define the communication mechanism (for example, Web service bindings [SOAP/HTTP or SOAP/JMS]) and configuration that provides the details of the transport connection and the format of messages that flow on that connection. Data bindings and data handlers are associated with import and export bindings to allow the message format to be configured.

EXPORT: Exports process incoming requests from outside SCA modules
IMPORT: Imports process outgoing requests to components outside SCA modules
BINDING: Binding determines how imports and exports interact with components outside a module
WPS 1644656983536514913

Post a Comment Default Comments


Home item

Blog Archive

Popular Posts

Random Posts

Flickr Photo