![]() |
jtrl - Object Specification with TROLL light |
| What is it? | jtrl is a system for executing object specifications. |
| Overview | The development of an information system requires the design of a conceptual model that represents aspects of the real world, called the Universe of Discourse. TROLL light is a specification language for the formal description of conceptual models. Validation of a model can be achieved by executing descriptions in a prototypical fashion. We have developed a system called jtrl for the prototypical execution of TROLL light-object specifications. The process of executing specifications is also called animation. The observable properties of objects during an animation can be checked against the desired behavior specified in the model. A Web-based user interface facilitates interaction with the system. |
| TROLL light | To illustrate some features of TROLL light we provide an example specification. It was designed to specify a very simple model of a car rental company. The structural part of the specification corresponds to an object model with four classes (see OMT diagram). Dynamic behavior aspects can be described by using a statechart diagram. |
| System Architecture |
The following picture sketches the system architecture of jtrl. Static aspects are shown on the right side of the pyramid, whereas dynamic aspects can be found on the front side.
|
| Functionality |
The next figure gives an overview of jtrl's functionality. First, a textual TROLL light specification is compiled into an abstract syntax tree. This representation is further used for execution in an animation session. The manipulation of objects is controlled and observed by different user interfaces.
|
| User Interface |
jtrl provides several ways to control an animation. A text-oriented command interface gives full access to all features. Easier to use and more interesting is the web browser interface. In this mode the system acts as a very basic web server reading requests from any kind of browser. A request is analyzed and a new HTML document is dynamically generated and delivered to the client. The following links show some of the documents generated by jtrl. NOTE: these pages contain links that are meaningful only in an animation session. So, following these links will very likely result in an error message.
Some aspects of an animation can be appropriately visualized by graph structures. We use the graph visualization tool daVinci to display the aggregation structure of multiple objects and the behavior automaton of single objects. The following links include screen shots:
Here is another screen shot (gif, 57K) showing the combined use of a web browser and daVinci. |
| System | The current version of jtrl is implemented in Java. It includes a compiler for translating textual TROLL light specifications and an interactive execution environment for animating a specification. Basic HTTP functionality is built-in, so a web browser can communicate directly with jtrl eliminating the need for a web server. |
| Download | The current release can be downloaded from our ftp server:
Note that the system is still under development and there are more features to be added soon. If you find bugs or want to comment on jtrl, please send mail to mr@informatik.uni-bremen.de |
| References |
|
Home|People|Teaching|PublicationsLast change: 11/14/97