O'Reilly logo

qooxdoo by Rajesh Kumar Bachu, Mohamed Raffi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Communicating with the server

qooxdoo uses the Remote Procedure Call (RPC) mechanism to call the APIs that are exposed on the server. qooxdoo RPC is based on JSON-RPC as the serialization and method call protocol. qooxdoo provides all the necessary classes in the qx.io.remote package. So, it is pretty simple to communicate with the server.

Setting up an RPC connection

To make remote calls, you need to create an instance of the Rpc class:

var rpc = new qx.io.remote.Rpc(
"http://localhost:8080/qooxdoo/.qxrpc",
"qooxdoo.test"
);

The first parameter is the URL of the server and the second is the name of the service you want to call. Class name is the fully qualified name and is case sensitive.

Making a call

When you have the Rpc instance, you can make ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required