Activities

To extend your knowledge of XML-RPC, code a response to the following activities:

  • The Advogato website offers an XML-RPC server at http://www.advogato.org/ XMLRPC that has a test.square method that returns the square of a specified number. Write an application that takes user input, calls this method, and displays the result.

  • Write an XML-RPC server application that mimics Advogato, taking the test.square call and returning the square of the number.

To see Java programs that implement these activities, visit the book's website at http://www.java24hours.com.

Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.