Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle ADF Real World Developer's Guide

You're reading from   Oracle ADF Real World Developer's Guide Mastering essential tips and tricks for building next generation enterprise applications with Oracle ADF with this book and ebook.

Arrow left icon
Product type Paperback
Published in Oct 2012
Publisher Packt
ISBN-13 9781849684828
Length 590 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (20) Chapters Close

Oracle ADF Real World Developer's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Oracle ADF FREE CHAPTER 2. Introduction to ADF Business Components 3. Introducing Entity Object 4. Introducing View Object 5. Advanced Concepts on Entity Objects and View Objects 6. Introducing the Application Module 7. Binding Business Services with the User Interface 8. Building Data Bound Web User Interfaces 9. Controlling the Page Navigation 10. Taking a Closer Look at the Bounded Task Flow 11. More on Validations and Error Handling 12. Oracle ADF Best Practices 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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime