Handling external processes in Java has never been easy. The JDK provides a way to start and manage external processes and they do work; but they are awkward. If the process hangs for some reason, getting at the input and output streams to figure out what’s going wrong is a pain.
I ran into this issue recently with my work on the
Transform4J project, am open source Java ETL Transformation API, where my test cases need to start and stop databases such as
Cassandra and
MongoDB....
Published on May 28, 2014 02:41