Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OpenSyllabus server used GWT special RPC servlets to implement exchange of serialized Models Objects with the client application.

REST based SData

Osyl OpenSyllabus Client uses REST based calls to SData services on the Sakai server.

For example, OpenSyllabus uses it to create or read data from the Sakai's resources repository

Info
titleREST

REST (Representational State Transfer) is based on resources where each is referenced by a unique identifier, its URI (Uniform Resource Identifier). In REST, clients and servers communicate via standard HTTP and exchange representations of resources (the documents

...

.

Thus, Sakai's SData services return JSON (JavaScript Object Notation) documents which are directly evaluated into Javascript objects by the browser.

SData Documentation

The SData service is called via a REST Servlet in Sakai. SData allows data exchanges in JSON format of information about site, resource, etc.) In order to parse JSON in GIT we have used the JSONParser from the GWT library.