Hi,
Really, you can use the Socket object to make a SWFKit app to communicate with a Java app.
Here is a demo, it makes two swfkit apps talk with each other. The master program keeps on waiting until the slave program stops.You can execute the slave program "tom" from the master program.
http://www.swfkit.com/download/demo/master.zip