Oracle Application Development Framework (ADF):Oracle ADF is an end-to-end J2EE framework, fully integrated with JDeveloper:
Oracle ADF comes with extended design time facilities. By using simple drag-and-drop of the model components you can build page by page in a highly productive manner.
PL/SQL packages can be converted to java classes in integration.
A Step by Step Example:1.Install Oracle JHeadstart 11g 11.1.1.2
2.Create the HR Schema Sample Tables:
C:\jhs-step-by-step> cd hr_schema
C:\jhs-step-by-step\hr_schema> sqlplus hr/hr @hr.sql
3.Create a new connection:
4.Enter Connection Details and create a default web application.
5.Enter Application Name directory and package name as
6.Select Business Tier > ADF Business Components on the left, and Business Components From Tables
on the right. Click OK. Set the IDE database connections
7.create entity for the tables selected as
8.Create Updateable View Objects for All Entity Objects.
9.enter the name for APPLICATION MODULE
10.Can create levels for enitites according to the resuability.
10.Select the ViewController project in the navigator and choose Enable JHeadstart on this Project
from the right-mouse menu. Click (Next>) from the welcome page, then click (Finish) to proceed with
enabling JHeadstart. Click (Yes to All) in the following alert that will be shown.
11.Save and observe the default service definition.The JHeadstart New Service Definition wizard auto-created List-of-Values (LOV) definitions in the View Objects for each attribute where a foreign key relationships exist in the base business component model.To inspect such an LOV definition, go to the Model project, double click on the EmployeesView view object, click on the Attributes tab and select the JobId attribute.
12.To run the JHeadstart application generator, select your ViewController project in the Application
Navigator and choose Run JHeadstart Application Generator.Press F11
Oracle ADF comes with extended design time facilities. By using simple drag-and-drop of the model components you can build page by page in a highly productive manner.
PL/SQL packages can be converted to java classes in integration.
A Step by Step Example:1.Install Oracle JHeadstart 11g 11.1.1.2
2.Create the HR Schema Sample Tables:
C:\jhs-step-by-step> cd hr_schema
C:\jhs-step-by-step\hr_schema> sqlplus hr/hr @hr.sql
3.Create a new connection:
4.Enter Connection Details and create a default web application.
5.Enter Application Name directory and package name as
6.Select Business Tier > ADF Business Components on the left, and Business Components From Tables
on the right. Click OK. Set the IDE database connections
7.create entity for the tables selected as
8.Create Updateable View Objects for All Entity Objects.
9.enter the name for APPLICATION MODULE
10.Can create levels for enitites according to the resuability.
10.Select the ViewController project in the navigator and choose Enable JHeadstart on this Project
from the right-mouse menu. Click (Next>) from the welcome page, then click (Finish) to proceed with
enabling JHeadstart. Click (Yes to All) in the following alert that will be shown.
11.Save and observe the default service definition.The JHeadstart New Service Definition wizard auto-created List-of-Values (LOV) definitions in the View Objects for each attribute where a foreign key relationships exist in the base business component model.To inspect such an LOV definition, go to the Model project, double click on the EmployeesView view object, click on the Attributes tab and select the JobId attribute.
12.To run the JHeadstart application generator, select your ViewController project in the Application
Navigator and choose Run JHeadstart Application Generator.Press F11
No comments:
Post a Comment
Thanks for your comments submitted.,will review and Post soon! by admin.