HolonJ Forth
Using HolonJ
Clock
Tic Tac Toe

Testing/Console
Testing/Jmon
Debugging
Apps&Applets
Access
Style
Verification

Testing with JMON - "Umbilical Java"

HolonJ is an umbilical cross development system. The JVM is the target system, which is connected to the host via a small monitor JMON running in the JVM. An umbilical development system sends code to the target on-the-fly and lets you test the code instantly in the target. Code is loaded into the JVM as complete class files.

HolonJ communicates with the monitor in the JVM. The console window of the JVM displays status information and program output. Commands to the monitor are passed via a file. Currently two commands are implemented. HolonJ can ask JMON to load a class (new) and to execute a method in a class (run), and uses the commands in the following way. 

Example

HolonJ and the java interpreter running JMON. I start and test the TicTacToe program via JMON.

What happens in the example?

Remarks

JMON has been built in HolonJ. JMON contains a custom classloader and an interpreter, which reads commands from a file. Tested code runs as a thread along with the interpreter thread.