Book Image

Oracle ADF Real World Developer's Guide

By : Jobinesh Purushothaman
Book Image

Oracle ADF Real World Developer's Guide

By: Jobinesh Purushothaman

Overview of this book

Oracle ADF in combination with JDeveloper IDE offers visual and declarative approaches to enterprise application development. This book will teach you to build scalable rich enterprise applications using the ADF Framework, with the help of many real world examples. Oracle ADF is a powerful application framework for building next generation enterprise applications. The book is a practical guide for the ADF framework and discusses how to use Oracle ADF for building rich enterprise applications. "Oracle ADF Real World Developer's Guide" discusses ADF framework in detail. This book contains a lot of real life examples which will help developers to design and develop successful enterprise applications. This book starts off by introducing the development environment and JDeveloper design time features. As you read forward, you will learn to build a full stack enterprise application using ADF. You will learn how to build business services using ADF, enable validation for the data model, declaratively build user interfaces for business service and enable security across application layers.
Table of Contents (20 chapters)
Oracle ADF Real World Developer's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Java test client for ADF Business Components


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:

  1. Right-click on the project and select New.

  2. 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.

  3. 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.

  4. 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:

Tip

Downloading the example code

You can download the example code...