Overview: Working with Java

 

Related Topics ...

Locating Your Java Files

Writing Methods

Processing Form Submissions

Getting and Setting Variable Values

Executing Model Actions

Generating URLs to Model Actions

Getting System Properties

Interacting with the Session

Interacting with the HTTP Request and Response

Factory applications rely on Java for all their application logic. We can incorporate Java into your application in the following ways:

  • Using the Method builder to create model-specific Java methods

  • Using the Linked Java Object builder to expose the public methods of an existing Java class to your model

  • Using the ${Java/...} indirect reference to set the value of a builder input to the value returned by the specified method

See the related topics for specific information about using Java when developing models with the Factory.

In addition, be sure to review Locating Your Java Files for information about how the Factory stores and updates Java source, class and JAR files.