Versions Compared

Key

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

2.8.1 Create Server Modules

In Visual LANSA Web applications, server modules are used to access tables and manage secure access to the application. Server modules are also used to define Restful web services.

To create a server module use the New command.
Image Removed

Image Added 

Then choose the type of server module you want to create:
Image Removed
Image Added

There are three different types of server module, all inherit from a primitive server module (#Prim_srvm).
 

Base

Inherits from the primitive server module (#Prim_srvm).  RDMLX code for required functionality must be written from scratch.

Application

A template generates code incorporating details of the table nominated when creating the server module. 
Standard operations used by a web application to access and modify the table data are provided including find, insert, save, update and delete.

Web API

A template generates restful API code based on the table(s) nominated when creating the server module. 
APIs are generated to support create, delete, get, and update requests.

...

New Base Server Module
New Application Server Module
New WEB API Server Module