Which statement best describes synchronous versus asynchronous communications in a Service
Oriented Integration (SOI) architecture?
A.
Both synchronous and asynchronous communication should be supported by SOI.
Synchronous communication provides an easier programming paradigm. Asynchronous
communication provides greater decoupling between the requester and the responder.
B.
The SOI architecture should use only synchronous communication because SOA Services are
inherently synchronous. If a back end system supports only asynchronous communications, the
“bridging synchronous and asynchronous communications” integration pattern can be used to
convert from asynchronous communication to synchronous communication.
C.
The SOI architecture should use only asynchronous communication because asynchronous
communication provides greater decoupling in the architecture. If a back-end system supports only
synchronous communications, the “bridging synchronous and asynchronous communications”
integration pattern can be used to convert from synchronous communication to asynchronous
communication.
D.
The SOA Services in the SOI architecture should use only synchronous communication
because SOA Services are inherently synchronous. All communication with back-end system
should be asynchronous to decouple the SOA Services from the back-end systems.
E.
The communication within the SOI architecture should be asynchronous and should follow the
publish-and-subscribe integration pattern. The publish-and-subscribe pattern is the most flexible
and provides the greatest decoupling and message throughput.
Explanation:
When using synchronous communication the service consumer blocks until the
service
provider responds. This is usually the easiest type of communication to program in the
consumer application. Thus, synchronous communication must be supported by the
architecture.
Many applications included in integration scenarios do not provide a synchronous
interface. Asynchronous communication is also used when the response time for the
source system is too slow to support the timelines of the calling systems. Thus the
architecture must support asynchronous communications.
Reference: Oracle Reference Architecture, Service-Oriented Integration, Release 3.0