This is an old revision of the document!
JavaApp plugin allows you to test java classes from the model created. All you have to do is to write a java handler that implements the methods corresponding to the transitions. See WriteHandler for details about how to write a java handler.
Check out the demo app Vending Maching.