-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Oracle ADF Real World Developer's Guide
By :

You can generate a Java test client to test the application module and associated data model. The step for generating a Java client is simple and straightforward.
To generate a Java test client class, perform the following steps:
Right-click on the project and select New.
In the New Gallery window, select Java under the General category node and then select Class on the right side of the panel. Enter the package and class name.
In the generated Java class source, keep the cursor inside the body of the main (String[] args)
method, type the characters bc4jclient
, and press Ctrl + Enter. This will generate a basic skeleton to invoke the application module.
Modify the amDef
and config
variables to reflect the names of the application module definition and the configuration that you want to test.
The following code snippet shows a simple test client program to test an application module:
Downloading the example code
You can download the example code...
Change the font size
Change margin width
Change background colour