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:
|
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
- Create the System Marker Class.
- Create the root _Container.parex file.
- Create the Test1 part.
- Start the system.
Trait List
- Use the BA of course!
System Model
Rather than an Object Diagram, we will model the system with a System Tree.
ba.assembler.lesson01.StartSystem
....Test1Implementation Plan
- Get Java JDK 1.1.7 and Swing 1.1.1 Beta 3 on your machine.
- Get the jcon distribution on your machine.
- Add jcon and ba.assembler to your class path.
- Do the Use Cases in order but introduce some iterations to avoid the Big Bang
- Create the ba.assembler.lesson01 directory. Put all new files in that directory.
- Create the System Marker Class, named StartSystem.java.
- Create the _Container.parex file with no items or invocations.
- Run the system. It should do nothing, but should produce no exceptions.
- Create the Test1.java file. It's very simple, just prints "Hello World".
- Modify the _Container.parex file to have the part and start it.
- Run the system. It should print "Hello World".