Command line control

Beatrix provides a command line console through which an application can be launched and managed. We call this the launcher or console.

To launch an application for the first time it uses a launch descriptor which tells it what command line options are accepted at launch, plus details of all the netlets (their JARs, classes, roles) and services (interfaces, access points, etc) needed. See Section [*].

The console launcher also needs warrants for a SAS (service advertisement service) through which the service can be propagated, and a hosting service in which it will initially live. However, the SAS warrant can be omitted in certain circumstances.

As with all aspects of Jtrix connectivity is not assumed, and the console may get disconnected and need to be reconnected at another time and place. To allow this, a successful launch returns an admin warrant. Use of this allows console reconnection to the application at any time.

After launch the console can be used to manage the service. The console has commands of its own, and application-specific commands are handled by the application's managers and/or workers.

See Chapter [*] for more on the console.

Nik Silver 2002-03-09