Since HL7 Comm is designed to be a stand-alone program it has a number of features designed specifically to make this functionality easier to accomplish. There are ways to start this program with and without a GUI, and to have it load a configuration from the command-line and to run it automatically. These features work with or without the GUI so to be flexible enough to fit into most any environment.
To start the program from the command-line it is usually necessary to prefix the jar name with the java executable:
java -jar Hl7Comm.jar
Alternatively, to load the application directly from the web archive (to ensure you have the latest version) you can execute the following to get the latest version:
javaws http://nule.org/download/hl7comm.jnlp
When executed in this manner, though, the GUI will launch in its normal manner and wait for your input. To launch the program with a GUI but have it load a config and start running automatically you would specify the following:
java -jar Hl7Comm.jar --gui myclient.cfg
To launch the program with no GUI and have it load a config and start running automatically you would specify the following:
java -jar Hl7Comm.jar --nogui myclient.cfg
In either case the function of the program will be identical. Should you forget these options a simple statement of usage can be obtained from the command-line with the "-h" or "--help" option:
java -jar Hl7Comm.jar --help