My Oracle Support Banner

How To Replace a Scripting Panel with a Dynamic Java Bean (CUSTOMIZATION) (Doc ID 1341957.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Scripting - Version 12.0 and later
Information in this document applies to any platform.

Goal

The purpose of this note is to provide an example of how a custom Java Bean can be used to replace a Scripting panel and add dynamic content to a script.  Specifically it details :

  • One approach for storing and retrieving dynamic content from the database
  • Creating dynamic lists of questions based on user selection
  • Setting and retrieval of Blackboard variables based on the dynamic questions.

The note should be read in conjunction with :
Oracle Scripting
Developer's Guide


Note:

Replacing panels in a script with custom Java beans is customization. Custom Java beans must be developed by knowledgeable individuals certified in Java and any other appropriate technologies.

Problems with customized script are not supported by Oracle.

Ensure you understand return values, methods, and properties used in custom Java bean components.

 

Note:

This not provides only a simple example of what be achieved and can be used as a template for further development, however it is not meant to provide a 'package solution' and the same results may be achievable in numerous different ways.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Overview of the Script
 Create Table of Dynamic Content
 Create the Java Code for the Post-Panel Event
 Create the Java Code for the Java Bean
 Create Zip File
 Upload Jar into Scripting Administrator
 Create a Script
 Complete Script
 java.policy File
 Testing the Script
 TroubleShooting
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.