Previous Topic: How the Java CS Handles Configuration

Next Topic: Converter and Validator Plug-Ins Registration

Connector Jar Files

The -dist target packages the connector in its build.xml file as a single file named jcs-connector-*.jar which can depend on separate external third-party libraries .jar files.

When ant inst is invoked from jcs-sdk-home, a connectors’ build.xml file is asked to execute its -inst task which must create a single consolidated jcs-connector-*.zip file in jcs-home/build/inst/.

The zip file includes every file it deploys to a production Java CS. For example, its jcs-connector-*.jar file, any third-party libraries, and all sources of configurations settings.

The .zip file is directly extracted under a jcs-home directory. Folder names must exactly match the standard names used by the Java CS on which it depends. For example, lib/, extlib/, conf/override/<connector>/ .

All connector jar files are collected in the Java CS lib directory: jcs-home/lib

Note: Restart the Java CS for it to notice new connector .jar files added to its lib/ directory.

The contents of a jcs-connector-*.jar file are: