How to integrate the licensing support in my Java application?

ImportantThe following article uses options that are available starting with the Enterprise edition and project type.

ImportantAdd your java application to the trialware protected list.

Optional

Displaying the "Registration" page from your Java application

When your application is running in trial you may initiate the display of "Registration" page by calling the DisplayRegistration native method of your main class with the following signature:

public native static short DisplayRegistration();

Retrieving licensing or trial information

To read licensing properties you must use the GetPropertyValue native method of your main class with the following signature:

public native static String GetPropertyValue(String aName) throws Exception;

Perform a silent registration

A silent registration can be performed using the following function:

public native static short Register(String aLicense);