Using External JARs

Using External JARs

From LongJump Support Wiki

Using External JARs
Jump to: navigation, search

Service Providers can configure the platform to make additional JAR files available to developers.

To configure additional JARs:

  1. Copy the jar into ../tomcat/lib
  2. Configure the platform
    1. Login as admin
    2. Settings > Service Provider Settings > Service Configuration
    3. provide the name of the jar in Libraries supported in Java Code text field and Save.
    Learn more: Service_Provider_Settings#Develop_Configuration
  3. Restart tomcat.

To use classes defined in those JARS:

  • In your Java code (class methods and data policies), import the classes contained in the JAR files.
    For example:
import com.examples.utils.*;

File:thumbsup.gif

Tip: Debugging can be done using Eclipse Remote debug

Personal tools