This sections explains where all the relevant jar files are located. It also lists Cayenne dependencies.

Cayenne Runtime Framework

One of two Cayenne jar files, cayenne.jar or cayenne-nodeps.jar, should be accessible in runtime (i.e. present in the application CLASSPATH). Either one or the other should be used (but not both at the same time). In most cases cayenne.jar is the best choice. It has Cayenne classes as well as a minimum set of third-party dependencies. Bundled dependencies include:

If bundled Cayenne dependencies conflict with different versions of the same library, a leaner cayenne-nodeps.jar file should be used. In this case all the dependencies above must be provided by the user.

Optional Runtime Dependencies

One or more of the following libraries may be needed depending on how you use Cayenne:

CayenneModeler Tool

Java classes and resources used exclusively by CayenneModeler and not required by the runtime are located in [cayenne_install_dir]/lib/modeler/ directory:

  • cayenne-modeler.jar
  • scope-bin-1.0.1.jar
  • forms-1.0.3.jar
  • looks-1.3.1.jar
  • hsqldb-
  • ognl-2.6.7.jar
  • commons-dbcp-1.2.1.jar
  • commons-pool-1.2.jar

cayenne-modeler.jar implicitly relies on the presence of [cayenne_install_dir]/lib/cayenne.jar. Instructions on how to start modeler can be found here.