JSF On Rails JDeveloper 11g/ADF 11g Rapid EJB/JPA + Rich JSF Development 8th of December 2008 AMIS
Overview of Application to Develop Demonstration rapid JEE Web Application Development JDeveloper 11g with ADF Business Tier: EJB 3.0/JPA ADF Model Web Tier: JavaServer Faces (ADF 11g Faces Rich Client Components)
The Data Model – Oracle HR Schema
Database Tables – Oracle HR Schema
Start JDeveloper - Create Application
 
Select EJB as Project Technology
 
Accept defaults
Add Database Connection to Application
Create new Entities from Tables
 
 
 
 
 
Change Entity Names to singular
 
The result of creating the entities
Create a Session Bean to expose a Business Service API for the entities
 
 
 
 
 
The project contents after creating the Session Bean
Add method getSumSalaries() to Department bean
Create an ADF Data Control for the Session bean
Data Control used in JSF applications can best use the Local Interface
Data Control Palette after creating the Session Bean based Data Control
Create the ViewController project
 
 
Create a new JSF page
 
Drag a PanelStretchLayout to the page
Drag EmployeeList under Department to the page; drop as MasterTable/Detail Table
Set Table Width (900 or so will do)
Run the JSF page
Surround table with PanelCollection
Set partialTriggers attribute for detail table to reference the master table
Set all table columns to Sortable = true
Refresh the page in the browser
Add popup component to the Form
Add PanelWindow to the Popup
Drag Employee under Department (manager of department) to PanelWindow – drop as Form
 
Add showpopupbehavior to departmentId outputText – refer Popup and set triggerType to contextMenu
 
Add PanelAccordion under Master PanelHeader
Move Detail PanelHeader to Accordion’s first ShowDetailItem
 
Add second ShowDetailItem
Drag EmployeeList to Show Detail Item; drop as Graph
 
 
Set Partial Triggers – to synchronize Graph with Table
 
 
Master-Detail synchronization Table-Table Sort & Column Manipulation Accordion Popup Chart ============ (+ 10 minutes Rapid Demonstration Result

Jsf On Rails Ejb Jpa Jsf Adf11g Demo1