Multiple choice

JOHN is writing a Forms application, and he plans to include several JavaBeans. What should he do to facilitate the communication between Forms and the JavaBeans?

  1. Write Java wrapper classes to integrate the JavaBean into Forms.

  2. Use the FBEAN PL/SQL Package and its built-ins to register and invoke the JavaBeans.

  3. Add a special layer of Java code to register the properties and methods of the JavaBeans.

  4. He does not need to use any built-in package or write any code to integrate JavaBeans into forms.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The FBEAN package is Oracle Forms' built-in interface for communicating with JavaBeans. It provides PL/SQL built-ins to register JavaBeans, set/get properties, and invoke methods. Using FBEAN eliminates the need to write custom Java wrapper code or implement custom integration layers - it's the standard, supported mechanism for Forms-JavaBean interaction.