A script-enabled browser is required for this page to function properly.

How to Add JavaBeans Using Enhanced JavaBean Support

To add JavaBeans to a form:

  1. In your form, at design time, create a Bean Area as an Item (Item Type property). The user will see the JavaBean in this item in the user interface.
  2. If you simply want to view the JavaBean in the form, use FBEAN.REGISTER_BEAN to set the name property in the WHEN-NEW-FORM-INSTANCE trigger.
  3. If communication will be needed with the JavaBean while it is running, code WHEN-CUSTOM-ITEM-EVENT triggers in your form to send and receive information.

To add JavaBeans to a Forms Application :

  1. enable the JavaBean in your Form by registering the bean at runtime with a call to FBEAN.REGISTER_BEAN on the Bean Area
  2. use get and set methods to manipulate properties and/or indexed properties on the JavaBean
  3. manipulate the JavaBean's functionality by accessing JavaBean methods
  4. enable communication between the JavaBean and the Forms application by adding code that will handle JavaBean events
  5. output JavaBean properties, warnings, and exceptions to the Java console by enabling debug mode
  6. work with complex data types or events by writing your own custom encoders
  7. Store the JavaBean so that the WebServer can find it at runtime. The JAR file or classes for the JavaBean should be placed in, or relative to, the Forms Codebase.