Groovy XML-RPC
XML-RPC is a protocol which allows different programs written in different programming languages running on different machines to communicate over the Internet. Groovy has an XML-RPC implementation which allows you to create an XML-RPC server and to make calls on remote XML-RPC servers.
The Server
It's really easy to set up a server which provides a set of remotely callable functions.
- Create a server object
- Add some methods
- Start the server
- You're done!
The Client
It's pretty easy to make the remote calls too
- Create a proxy object to represent the remote server
- Call the remote method via the proxy
- That's all you need
Labels