96
Designing a Service's Interaction Layer
Interaction Layer
Processing Layer
JM
Business
Web
Web
S
Logic
Service
Service
Client
Endpoint
Figure 3.7
Asynchronous Interaction Between Client and Service
Figure 3.8 shows how the travel agency service might implement this interac
tion, and Code Example 3.16 shows the actual code that might be used.
Travel Agency
Processing
Client
JMS Queue/Topic
Service Endpoint
Layer
Request travel reservation
Delegate request to JMS
after validation
Return correlation ID
Request
Inquire
Option 1: Polling
Status/result
Option 2: Callback
Request result
Figure 3.8
Travel Agency Service Interaction
footer
Our web partners:
Inexpensive
Web Hosting
Java Web Hosting
personal webspace
webspace php
linux webhost
html web templates
DreamweaverQuality Web Templates
PSD Web Templates
cheap webhost
j2ee web Hosting
buy webspace
ftp webspace
adult webspace
frontpage WebHosting
webspace hosting
cheap webhost
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved
webhosting