Overview
You can run Documaker Connector in these different modes:
- (Singleton mode) As a batch-import utility application which processes a set of incoming documents and then terminates when there is no more data to process.
- (Server mode) As a continuous batch-import daemon or service application which periodically polls the source for new incoming data, processes any available data and then sleeps until the next polling interval. This can be running as a Windows Service or as a UNIX daemon or as some other faceless background task.
- (Commander mode) As a controller application sending commands to another copy of the program running in the server mode.
These modes are described in the following topics. Command line execution is generally done with a script or batch file to lessen the complexity of the Java command line. The basic format is:java [–cp classpath] [systemparams] mainclass [parameters]
| Item | Description |
|---|---|
| classpath |
classpath is installation dependent. Generally, it includes three sets of Java JAR files in a delimited list (using a semicolon on Windows and a colon elsewhere as the delimiter): Here are the general Java run-time support classes:
Here are the support classes for the core application, including the configurable sources and destinations:
Here are the support classes for the configurable sources and destinations:
|
| systemparams | Parameters passed directly to the JVM. |
| mainclass | mainclass controls which version of the program is run. The possible values for mainclass correspond to the three modes of execution listed above. It must be one of:
|
| parameters | Application-defined information described below, that depends on the specific mainclass chosen. |