This document summarizes a presentation on Oracle Application Development Framework (ADF) and its business components (ADF BC). It discusses how ADF BC can expose database tables and views as Java services, and its features like transaction management, caching, validation and more. It provides examples of creating an ADF BC application using HR data, including defining entity objects, view objects, and a business service. It demonstrates consuming the application via a web service and creating an ADF Faces web page bound to the application data. The page includes interactive charts and tables with features like filtering, sorting, resizing and contextual popups for drill-down.
Similaire à Demonstrating ADF in Action through screenhots - getting (re)acquainted with Oracle’s premier application development framework - OUGF 2014 Harmony
Similaire à Demonstrating ADF in Action through screenhots - getting (re)acquainted with Oracle’s premier application development framework - OUGF 2014 Harmony (20)
Optimizing AI for immediate response in Smart CCTV
Demonstrating ADF in Action through screenhots - getting (re)acquainted with Oracle’s premier application development framework - OUGF 2014 Harmony
1. Lucas Jellema
OUGF Harmony 2014 – 4-5 June 2014 – Finland
ADF in action – getting
(re)acquainted with Oracle’s premier
application development framework
2. 2
ADF BC
• Expose tables, views and custom SQL queries as Java Services
• Declarative
• Productive
• Very similar to Forms blocks
• Features
– Optimistic & pessimistic locking
– Transaction Management
– Pooling of database session connections
– Caching of queried and manipulated data
– Validation of data manipulations
– Enrichment of data fetched from the database
– Web session (state) management
– Oracle SQL comes naturally (sequence, return after DML, joins, BLOBs, PL/SQL,..)
– Master/detail coordination
ADF BC
3. 3
Demo
• HRService from tables in HR schema
– Add custom SQL with salary aggregation per department
– Add business rules
• Run the ADF BC Service Tester
• Expose HRService as a SOAP/XML Web Service
• Invoke HRWebService from Soap UI
23. 23
Business Service: HRService
ADF BC
Depart
ments
Emplo
yees
SalaryPer
Depart
mentVW
DepartmentsVw EmployeesVw
EmployeeDepartmentEntity Objects
View Objects
24. 24
Business Service: HRService
Exposes an ADF Model Data Control
ADF BC
Departments
Employees
SalaryPer
Depart
mentVW
DepartmentsVw EmployeesVw
EmployeeDepartment
26. 26
Demo objective
• Screenshot of page to create
• Based on Departments & Employees tables
– And custom SQL query for aggregation
• Show table with all departments
• Show bar chart with top X departments in terms of salary sum (or avg
salary)
• Popup per department with table with employees
– Move and resize columns
– Sort and filter records