Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Lyo/Lyo Designer

< Lyo
Revision as of 19:31, 22 December 2017 by Jad.kth.se (Talk | contribs)

Lyo Designer is an Eclipse plugin that allows one to graphically model (1) the overall system architecture, (2) the information model of the RDF resources being shared, and (3) the individual services and operations of each Server in the system. The figure below shows the information modelling interface:

Lyo Designer includes a integrated code generator that synthesizes the model into almost-complete OSLC4J-compliant running implementation. The resulting code includes:

  • Java classes with appropriate OSLC4J-annotations to reflect the modelled RDF resource shapes
    • This automates the marshaling/unmarshaling of Java instances as Linked Data RDF resources.
  • JAX-RS Service operations for accessing, updating, creating and deleting RDF resources.
    • These operations handle any of the supported formats (turtle, RDF/XML, Json, etc.)
    • For debugging purposes, JSP pages are also produced to deliver HTML representations of all RDF resources.
  • JAX-RS Service operations to completely handle Delegated UI for both creation and selection dialogs.
    • Including the initial generation of basic JSP pages for the html-representation of the dialogs.
  • JAX-RS Service operations to handle Resource Preview
    • Including the initial generation of basic JSP pages for the html-representation of the resource previews.

Lyo Designer supports incremental development, where manual changes to the generated code are preserved upon changes to the model, and subsequent code regeneration.

Tutorials and Documentation

Back to the top