Lesson 1 - BA Tutorial

March 22, 1999 - Jack Harich - Go Back

This lesson shows you how to create the smallest possible BA system from scratch. It has a single part named Test1 that prints "Hello World". The concepts introduced are:

  1. System Marker Class
  2. How to Start a System
  3. Primordial Invocations
  4. System Tree


Mini Process

First read the page about the Mini Process. This is a very flexible, simple approach to doing nearly anything technical in an organized, repeatable manner. Here's this lesson in Mini Process format:

Nutshell Vision - The simplest possible BA system using a single part to print "Hello World".

Narrative - The user starts the system from the command line with "java ba.tutorial.lesson01.StartSystem." It should print out "Hello World" and then end.

Use Case List

Trait List

System Model

Rather than an Object Diagram, we will model the system with a System Tree.

ba.assembler.lesson01.StartSystem
....Test1

Implementation Plan

  1. Get Java JDK 1.1.7 and Swing 1.1.1 Beta 3 on your machine.
  2. Get the jcon distribution on your machine.
  3. Add jcon and ba.assembler to your class path.
  4. Do the Use Cases in order but introduce some iterations to avoid the Big Bang
    1. Create the ba.assembler.lesson01 directory. Put all new files in that directory.
    2. Create the System Marker Class, named StartSystem.java.
    3. Create the _Container.parex file with no items or invocations.
    4. Run the system. It should do nothing, but should produce no exceptions.
    5. Create the Test1.java file. It's very simple, just prints "Hello World".
    6. Modify the _Container.parex file to have the part and start it.
    7. Run the system. It should print "Hello World".