Академический Документы
Профессиональный Документы
Культура Документы
ADF Applications
By:
Gavin Woods, Technical Manager, PITSS America LLC
Introduction
Forms-to-ADF Migration Strategies
Forms-ADF Hybrid Solutions
Case Study: DTE Energy
Application Re-Engineering
Forms : ADF
Ratio
ADF, SOA
VS
Forms
Time
Examples:
Run Forms within ADF Applications
Launch Forms and ADF applications from a Portal
Enable Deep Integration by passing data between ADF and Forms
sessions
Open Forms applications from ADF
Open ADF applications from Forms
Forms : ADF
Ratio
ADF, SOA
Forms
Time
Integration needs to be
secure!
Forms : ADF
ADF
Ratio
ADF, SOA
Forms Integration
Time
Forms
Forms Session
1 Database
1 Forms ADF
Start new ADF Application Session in separate window
Log in to ADF Application
Interacting and sending data to ADF Application
2 ADF Forms
Interacting and send data to existing Forms session
ADF Session Updating Forms to process data received from ADF session
Update application infrastructure required for ADF-Forms
Integration
© PITSS America LLC 2015 28
HYBRID APP: APPLICATION GLUE
#1 #5
PL/SQL #3 PL/SQL + JavaScript : Send ADF Login Credentials HTTP
Built-in Servlet
4
© PITSS America LLC 2015 31
FORMS TO ADF INTEGRATION
Forms #2 PL/SQL + JavaScript: Open Child Browser Window ADF
#1 #5
PL/SQL #3 PL/SQL + JavaScript : Send ADF Login Credentials HTTP
Built-in Servlet
4
New 11g Forms PL/SQL Built-ins to run
JavaScript:
web.javascript_eval_expr
web.javascript_eval_function
#1 #5
PL/SQL #3 PL/SQL + JavaScript : Send ADF Login Credentials HTTP
Built-in Servlet
4
JavaScript needed for opening child browser
window session from parent browser window so
there is an established link between Forms and
ADF Browser Windows
#1 #5
PL/SQL #3 PL/SQL + JavaScript : Send ADF Login Credentials HTTP
Built-in Servlet
4
After child browser window is opened,
JavasCript can send data via encrypted cookie
or HTTP POST/GET method to ADF
#1 #5
PL/SQL #3 PL/SQL + JavaScript : Send ADF Login Credentials HTTP
Built-in Servlet
4
ADF HTTP Servlet authenticates Login
Credentials
4
Invoke any additional ADF Client-JavaScript
Listener!
#4
#1
#3 JavaScript: Switch Window Focus to Forms Window Java
ADF
Script
Listener
Trigger
4
Forms: 11g Forms JavaScript Trigger
listens and processes any JavaScript
event invoked within the Forms
JavaScript API
#4
#1
#3 JavaScript: Switch Window Focus to Forms Window Java
ADF
Script
Listener
Trigger
4
to Forms
#4
#1
#3 JavaScript: Switch Window Focus to Forms Window Java
ADF
Script
Listener
Trigger
4
access via Oracle Forms JavaScript
API/DOM(Document Object Model)
11g Forms Applet contains a method
called “raiseEvent” that invokes a Forms
Trigger.
Allows ADF to send commands and
invoke queries in Forms
#4
#1
#3 JavaScript: Switch Window Focus to Forms Window Java
ADF
Script
Listener
Trigger
4
opened, it becomes the window of focus
#4
#1
#3 JavaScript: Switch Window Focus to Forms Window Java
ADF
Script
Listener
Trigger
4
listener for any Forms Applet methods
invoked from JavaScript
-Gavin Woods
Training
Oracle ADF Development (Beginner – Advanced)
WebLogic, Forms, Reports Server Installation and Configuration
Oracle Access Manager Installation and Configuration
Oracle Directory Services Manager (ODSM)
Website: www.pitss.com
Email: info@pitssamerica.com
Phone: 248.740.0935 #11