A coordination protocol could be carried out in order to coordinate the actions of web services. Outline an architecture for (i) a centralized and (ii) a distributed coordination protocol. In each case, describe the interactions needed to establish coordination between a pair of web services.
What will be an ideal response?
Centralised coordination. A particular server would play the role of coordinator and the web services that require coordination would send their coordination messages to the coordinator, rather like the protocol used in the 2PC. Call the web services A and B, and the coordinator C.
A asks C to create a new context for coordination, which is returned;
A sends B a message, passing on an identifier for the coordination and B communicates with C about it.
In distributed coordination, each participating web service would have a local coordinator that it communicates with and the set of local coordinators would communicate amongst them selves. Call the web services A and B, and their local coordinators Ca and Cb.
A asks Ca to create a new context for coordination, which is returned;
A sends B a message, passing on an identifier for the coordination and B asks Cb to create a context for it.
You might also like to view...
Add-On Instructions can be developed in:
. ST, SFC, and FB. b. Ladder Logic, SFC, FB, and ST. c. Ladder logic, ST, and FB. d. Ladder logic only. e. Structured text only.
The __________ loop is ideal in situations where you always want the loop to iterate at least once.
a. for b. while c. do-while d. posttest
What will be the output of the following program when the button is clicked on?
``` Private Sub btnDisplay_Click(...) Handles btnDisplay.Click Dim word, result As String word = "Benjamin" result = Rotate(word) result = Rotate(result & word) result = Rotate(result) txtBox.Text = result End Sub Function Rotate(var As String) As String Dim varlength As Integer varlength = var.Length Return var.Substring(1) & var.Substring(0, 1) End Function ``` (A) jaminBBenjaminen (B) BenjaminBenjamin (C) njaminBe (D) None of the above
Describe how standardized data formats have made the Presentation layer the least important of the layers of OSI model.
What will be an ideal response?