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 – creating an entity object for DEPT table


In this section, we will create another entity object for the DEPT table from HRSchema. There are two ways of creating an entity object—the first way of creating an entity object was explained in Chapter 2, Getting started with ADF. Now, we will see how to create an entity object using another way.

  1. Right-click on the com.empdirectory.model package from the Model project in the Application Navigator panel where the EmpEO.xml is located and select the New Entity Object option from the menu.

  2. This will open the Create Entity Object wizard for you to create the entity object.

  3. Enter com.empdirectory.model.entity as the package information for the entity object and DeptEO as its Name, as shown in the following screenshot:

  4. Select the HR schema from the drop-down menu and the DEPT table using the Browse button. Alternatively, we can directly enter DEPT in the Schema Object: box, if we know the table name correctly.

  5. Move to the next screen to...