Real Time Logic Logo

Ajax, JSON, and XML-RPC

Ajax, JSON, and XML-RPC are technologies typically used by client side code when communicating with a server. The Real Time Logic Ajax package includes a collection of services for creating interactive web applications without having to reload the complete web page in response to each user input, thus making the interaction faster.

Ajax is a group of interrelated web development methods used on the client-side to create interactive web applications. The name implies that XML is used. However, many prefer to use URL-encoded data when sending data from the client to the server and JSON as the response. URL-encoded data sent by JavaScript code matches HTML form data sent by a browser when a user clicks the submit button. Managing form data received from a client is very easy when using LSP. The server also includes functions that automatically create JSON from Lua tables.

Ajax (Asynchronous JavaScript and XML)

AjaxAJAX and JSON are typically used by JavaScript code in modern web based user interfaces when querying the server in real time.

JavaScript code may, for example, send URL-encoded data to the server, and the server may respond by sending back a JSON object.


jsonThe JSON format is often used for serializing and transmitting structured data over a network connection. It is often used to transmit data between a server and web application, serving as an alternative to XML.

Barracuda supports JSON-RPC, where data is sent as JSON from the client to the server and vice versa. JSON-RPC is a good alternative to the more complex SOAP protocol.

It also provides a JavaScript JSON-RPC client library that can be used by the client web-application. However, for many applications, Ajax as described above is sufficient.


The XML-RPC server stack provides a server API virtually identical to the JSON-RPC server API. XML-RPC is typically used when creating web-services for legacy client XML-RPC implementations.

About Real Time Logic

Real Time Logic is a world class IoT security and web-enablement specialist. Their solutions and Ecosystem Partners drive modern real-time embedded applications to ensure the smooth deployment and safe operation of next generation products. More details…

Find out more…

For more information on using Ajax, JSON and XML-RPC with the Barracuda Application Server please complete the form below.


    Full Name (required):

    Company Name (required):

    Your Email (required)