How to integrate the licensing support in my Java application?Copy link to this sectionLink to this section copied!

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.

OptionalCopy link to this sectionLink to this section copied!

Displaying the "Registration" page from your Java applicationCopy link to this sectionLink to this section copied!

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 informationCopy link to this sectionLink to this section copied!

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 registrationCopy link to this sectionLink to this section copied!

A silent registration can be performed using the following function:

public native static short Register(String aLicense);