Quiz
To see whether you can deliver information upon request across great distances, answer the following questions about XML-RPC in Java.
Questions
1: | What does XML-RPC stand for?
XML Remote Procedure Call XML Rapid Paramilitary Commandos XML Resists Programmer Comprehension
| 2: | If a public method in an XML-RPC handler class returns an int, what form will it take when returned by a client's execute() method?
It won't—XML-RPC doesn't support integers.
| 3: | An applet making an XML-RPC call can connect to how many different computers?
|
AnswersA1:
| a. Other techniques to make remote procedure calls include the Common Object Request Broker Architecture (CORBA), Open Network Computing RPC, and the web services protocol, SOAP. | A2:
| b. The execute() method always returns an object that must be cast to the proper class. An int value is returned as an Integer object representing the same value. | A3:
| b. For security reasons, the applet only may call an XML-RPC server on the same computer that served the applet to a browser. |
|