/lbu-lti-toolapi

This is a simple framework for building a set of LTI tools as a java web application. It provides support for using web sockets to implement messaging between client and server and autogenerates Javascript based on the annotation of server side Java classes.

Primary LanguageJavaApache License 2.0Apache-2.0

lbu-lti-toolapi

This package builds on the lbu-lti library to provide developers with a simple framework for the creation of sets of LTI tools.

Typical Tool

A typical tool provides a single JSP page which acts as the entrypoint for users. This is backed by a supporting Java class which helps to initialise that page. The tool also implements a WebSocket endpoint which the JSP page connects to. The interactive functionality of the tool is implemented by having the JSP page communicate with the WebSocket endpoint using messages passing in both directions.

The storage of data relating to the LTI resource is typically implemented using a JavaCache backed by ultimate storage as JSON files. The application must either include its own JavaCache implementation or must depend on the web application container including one.