Create JAR Files for Your Application

When you create a JAR file for installation, include any Java classes that are intended for GemFire XD class loading. This might include stored procedure or result processor implementations, as well as supporting classes.

When you add classes to the JAR file, do not include:

GemFire XD can load classes from any number of JAR files from any number of schemas.

Create JAR files intended for GemFire XD class loading in the same way that you would create a JAR file for including in a user's classpath. For example:

jar cf travelagent.jar travelagent/*.class
Different IDEs have tools to generate a list of contents for a JAR file based on your application. If your application requires classes from other JAR files, you have the following options: