Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By : Vinod Thatheri Krishnan
Book Image

Oracle ADF 11gR2 Development Beginner's Guide

By: Vinod Thatheri Krishnan

Overview of this book

Oracle ADF is an end-to-end framework which makes application development simple by providing infrastructure services as well as visual and declarative development right away. "Oracle ADF 11gR2 Development Beginner's Guide" guides any user with programming skills to be able to quickly learn the options and ways to develop rich Internet applications using ADF 11gR2. Containing all the skills that a new user has to use to build an application in ADF 11gR2, this book is designed in such a way so that it enhances the practical feel of developing applications in ADF 11gR2. Starting with the installation and configuration of Oracle ADF 11g RD we will then work through topics such as working with the Model Layer and Model Data followed by displaying and binding the data. Later we will look at Navigations and Flows within applications as well as their layout, look, and feel. "Oracle ADF 11g R2 Development Beginner's Guide" will conclude with us looking at the security and deployment of the applications which have been created.
Table of Contents (19 chapters)
Oracle ADF 11gR2 Development Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Pop Quiz Answers
Index

Time for action – generating a Java API for DeptEO


In our previous exercise, we did not select the options to generate the Java API in Create Component Wizard. The following steps will show how to generate a Java API for the EmpEO.xml file:

  1. Select the EmpEO.xml file from the Model project in the Projects pane.

  2. Click on the Java tab and then click on the pencil icon. This will open the option to select the Java class files:

  3. Check the Generate Entity Object Class EmpEOImpl checkbox. This will create the EmpEOImpl class that will extend the EntityImpl class.

  4. Select the Accessors option to generate the attribute's getter and setter methods; Create Method will generate the create() method; Data Manipulation Methods will create the lock() and doDML() methods and Remove Method will create the remove() method.

  5. Checking the Generate Entity Collection Class EmpEOCollImpl checkbox will create the EmpEOCollImpl class that will cache the queried entity row. This class will extend the EntityCache class to...