This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Client callback or polling should be done in processing layer or interaction layer or both layers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Client callback or polling should be done in processing layer or interaction layer or both layers?" Watch "Client callback or polling should be done in processing layer or interaction layer or both layers?" New topic
Author

Client callback or polling should be done in processing layer or interaction layer or both layers?

Himai Minh
Ranch Hand

Joined: Jul 29, 2012
Posts: 779
In Ivan's notes, p.403, session title "Design an asynchronous document style web service", there is a flow chart diagram showing that the processing layer delegates the interaction layer, which determines if a client call back or polling is necessary. So, from this diagram, the interaction layer does the client callback or polling.

But on p.404, Ivan's notes says "Another way of showing the same thing...." (a sequential diagram), the diagram shows that the client polls response from the interaction layer. Or, the processing layer callback the client.

So, which diagram should I follow?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Client callback or polling should be done in processing layer or interaction layer or both layers?