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 a database connection


To create a connection for the application, you may follow these steps:

  1. Create the connection for Application Resources as per the previous steps.

  2. Click on the + (plus) sign to create a new connection.

  3. Right-click on EmpDirectoryApplication and select New Connection.

  4. Right-click on HRSchema and select Add to Application.

  5. Drag HRSchema from IDE Connections and drop it on EmpDirectoryApplication in the Database Navigator panel.

Have a go hero – run some queries

You have all the required tables created in your database. Now it is time to do some practical exercises to fetch the data. You should use the SQL worksheet to write the query and execute it accordingly. The following are some exercises to fetch the data:

  1. Display all the records in the EMP and DEPT tables

  2. Display the name of department number 10

  3. Display all the employees having a salary of less than 1000

  4. Display all the employees in the sales department

Build business services

The next step is to...