Difference between revisions of "Paradigms of communication"
(→Asynchronous-Synchronous) |
(→Asynchronous-Synchronous) |
||
Line 51: | Line 51: | ||
| Communication || Asynchronous || 2/3 || Synchronous | | Communication || Asynchronous || 2/3 || Synchronous | ||
|} | |} | ||
+ | |||
+ | The decoupling of communication might happen in three ways: | ||
+ | # The Client makes a request to {{GVESB}} using an Adapter. {{GVESB}} elaborates the request, and after eventually communication with others systems, invokes a Service into the Client system to communicate the response. [[File:ParadigmAS3.jpg|none|thumb|Adapter->plugin->server->plugin]] | ||
+ | # The Client makes a Request to {{GVESB}} using an Adapter. {{GVESB}} elaborates the request, and after eventually communication with others systems, enqueues the response in a queue shared with Client.[[File:ParadigmAS1.jpg|none|thumb|Adapter->plugin->server->jms]] | ||
+ | # The Client enqueue a message, {{GVESB}} dequeue it, an after eventually communication with others systems, enqueues the response in a queue shared with Client.[[File:ParadigmAS2.jpg|none|thumb|jms->plugin->server->jms]] | ||
===Asynchronous-Asynchronous=== | ===Asynchronous-Asynchronous=== |
Revision as of 00:30, 11 February 2012
Contents
Description
Depending on the type of communication (Synchronous / Asynchronous), on the role played by GreenVulcano® ESB (active / passive) and on the response management, it is possible to have from a minimum of one to a maximum of four operations constituting a single interaction client - server.
GreenVulcano® ESB Configuration
GreenVulcano® ESB is configured for managing four paradigms of communication:
- Synchronous - Synchronous
- Synchronous - Asynchronous
- Asynchronous - Synchronous
- Asynchronous - Asynchronous
Synchronous-Synchronous
The Synchronous-Synchronous paradigm takes place following the Client -> GreenVulcano® ESB -> Server direction.
The following table shows its properties:
Client | GVESB Workflow Number | Server | |
---|---|---|---|
Communication | Synchronous | 1 | Synchronous |
Synchronous-Asynchronous
The Synchronous-Asynchronous paradigm takes place following the Client -> GreenVulcano® ESB -> Server direction.
The following table shows its properties:
Client | GVESB Workflow Number | Server | |
---|---|---|---|
Communication | Synchronous | 1 | Asynchronous |
The decoupling of communication can happen in two ways:
- GreenVulcano® ESB, using a plugin, invokes the server and waits for the response into a queue jms, bmq, etc.
- GreenVulcano® ESB enqueues into a jms queue shared with server and waits for the response into another jms queue.
Asynchronous-Synchronous
The Asynchronous-Synchronous paradigm takes place following the Client -> GreenVulcano® ESB -> Server direction.
The following table shows its properties:
Client | GVESB Workflow Number | Server | |
---|---|---|---|
Communication | Asynchronous | 2/3 | Synchronous |
The decoupling of communication might happen in three ways:
- The Client makes a request to GreenVulcano® ESB using an Adapter. GreenVulcano® ESB elaborates the request, and after eventually communication with others systems, invokes a Service into the Client system to communicate the response.
- The Client makes a Request to GreenVulcano® ESB using an Adapter. GreenVulcano® ESB elaborates the request, and after eventually communication with others systems, enqueues the response in a queue shared with Client.
- The Client enqueue a message, GreenVulcano® ESB dequeue it, an after eventually communication with others systems, enqueues the response in a queue shared with Client.