To use the Network Server and network client driver, add the
following jar files to your server classpath:
- derbynet.jar
This jar file contains the Network Server
code. It is only necessary for the process that starts the Network Server
in addition to the standard Derby .jar
files.
- derby.jar
This file must be in your classpath to
use any of the Derby Network
Server functions.
- derbyclient.jar
This jar file must be in your class
path to use the Network Client driver. The jar file is necessary for client-side
communication with the Network Server using the Derby Network
Client driver. It needs to be in the client-side classpath to use the Network
Client driver to access Derby.
Derby provides
script files for setting the classpath to work with the Network Server. The
scripts are located in the $DERBY_INSTALL\frameworks\NetworkServer\bin
directory.
- setNetworkClientCP.bat (Windows)
- setNetworkClientCP.ksh (UNIX)
- setNetworkServerCP.bat (Windows)
- setNetworkServerCP.ksh (UNIX)