Skip to content

Application

Johannes Heucher edited this page Jun 13, 2022 · 4 revisions

Requirements]]

An Application is a Runtime Context whose content is not supposed to change and is thus suited to be used in runtime environments. Each Application has a Name and a Version property. This combination uniquely identifies an Application build, which can be exported as a deliverable and imported into another Xyna Factory instance. It is possible to keep several versions of an Application and switch the currently active version.

Mainly an Application consists of a set of XMOM Objects including several Workflows. It has a so called Order Entry, which listens to external events and starts Xyna Orders according to the particular event. Typical Order Entry points are the CLI, the RMI interface and the Triggers and Filters belonging to an Application.

In detail an Application may contain objects of the following types:

Applications can require other Runtime Contexts which allows Modularization to (re-)use functionallity of other Runtime Contexts (cf. fig. 1). In most cases Base is one of the directly or indirectly required Applications. Xyna Factory already provides a set of Standard Applications.

Life Cycle

Applications are created from inside of a Workspace by defining their content via an Application Definition and afterwards building the specific version of an Application. The Application can then be exported as a ZIP file to be imported into another Xyna Factory instance. To modify an Application, it has first to be copied into a Workspace again, which automatically creates a fitting Application Definition.

The following list contains all possible actions with Applications:

Manage Applications

All of the management operations above can be accessed in the Workspaces and Applications sections in the Xyna Factory Manager and also using CLI. See for help about the possible CLI commands: <syntaxhighlight lang="bash"> ./xynafactory.sh help | grep -A 30 "Application -" </syntaxhighlight>

See Also

Clone this wiki locally