SlideShare a Scribd company logo
ADF Mythbusters 
Andrejus Baranovskis 
Florin Marcus
Company Profile 
ADF, ADF Mobile, BPM, SOA, WebCenter 
Small Team of Experts, Focused on Technical Quality Results 
Customers – Global Corporations, Medium and Small Business 
Oracle Technical Blog – 8 Years (~700 posts) 
Oracle Fusion Middleware Innovation Award 2010, SOA 
Partner Community Award for Outstanding Contribution 
Across the Globe 2010
Agenda 
Batches Of 
AM Pools and DB Connections Pools 
Activation-Safe Application Modules 
Maximum Number of Regions Per Page 
JSP vs Facelets
“Batches Of” 
Oracle Service Request: 3-9978776141 
Performance and Memory Impact
“Batches Of”: How It Works
“Batches Of”: How It Works 
Batches of 1 - a network round trip for each record
“Batches Of”: How It Works 
Batches of 5 - a network round trip for every 5 records
“Batches Of”: What Docs Say 
9.2.4.2 Consider Whether Fetching One Row at a Time is Appropriate 
[...] By default, the framework will fetch rows in batches of one row at a time. If 
you are fetching any more than one row, you will gain efficiency by setting 
this in Batches of value. 
However the higher the number, the larger the client-side buffer required, so 
avoid setting this number arbitrarily high. If you are displaying results n rows at 
a time in the user interface, it's good to set the fetch size to at least n+1 so 
that each page of results can be retrieved in a single round trip to the 
database. 
Developing Fusion Web Applications with Oracle Application Development Framework
“Batches Of”: Methodology 
Target 
Scope 
Tools 
4 ADF applications in production for more than 6 
months. 
Typical use cases: multiple queries per page, 
returning less than 100 records each. Fetching 
millions of records over JDBC is out of scope. 
JMeter, Oracle Application Testing Suite, 
JRockit, Java Mission Control, Weblogic 
Console, Spy Servlet, 
Redsamurai Performance Audit.
Batches Of: Test Results 
No relevant impact when: 
Less than 15 active user sessions 
and 
“Connection Delay Time” is 
lower than 150 ms.
Batches Of: Response Time 
Response time with 100 user sessions
Batches Of: Memory Consumption 
ADF 11g 
One user browsing the application
Batches Of: Memory Consumption 
ADF 11g 
ADF 12c 
One user browsing the application
Batches Of: Conclusions 
ADF 11g: 
ADF 12c: 
Huge impact over memory size due to OJDBC 
Driver 11g design, intentionally trading memory 
for performance. 
Memory impact is significantly lower because 
new version of OJDBC Driver is less memory 
hungry. 
ADF 12c scales better!
Batches Of: Conclusions 
Performance improvement are significant when values are 
between 10 - 40. 
Oracle JDBC Dev Team suggests the “Batches Of” (Fetch 
Size) to be less than 100. 
Retrieving all records in a single round trip doesn’t 
necessarily improve performance.
AM Pools 
DB Pools 
The Great Schism 
Oracle Service Request: 3-9979146351
AM or DB Pools: The Tickbox
AM or DB Pools: The Options 
Begin Request Process Request Send Response 
jbo.doconnectionpooling=false (Default)
AM or DB Pools: The Options 
Begin Request Process Request Send Response 
jbo.doconnectionpooling=true
“AM or DB Pools”: What Docs Say 
51.2.6 What You May Need to Know About How Database 
and Application Module Pools Cooperate 
Performance Tip: 
Leave the “jbo.doconnectionpooling” configuration 
parameter set to “false” for best performance without 
sacrificing scalability and reliability. 
Developing Fusion Web Applications with Oracle Application Development Framework
AM or DB Pools: Memory 
char[] and byte[] (%) in ADF 11g
AM or DB Pools: Memory 
char[] and byte[] (%) in ADF 12c
AM or DB Pools: What we say 
jbo.doconnectionpooling=false used to be best practice with 
Oracle JDBC Drivers versions 8i or 9i, designed for minimal 
memory use. 
Driver’s performance improved by an average of 30% on 10i 
version, by storing queried data into buffer (char[] and byte[]) arrays. 
These buffers consume large amounts of memory that gets freed 
only when statements are closed. 
Holding statements open in ADF BC is no longer necessary since 
“Statement Caching” was introduced at Datasource level.
AM vs DB Pools: What we say 
jbo.doconnectionpooling=false brings scalability 
problems with ADF 11g, but improves on ADF 12c 
jbo.doconnectionpooling=true is the way OJDBC was 
designed to be used on latest versions. 
jbo.doconnectionpooling=false should be either dropped 
or re-architected (javax.sql.rowset.CachedRowSet )
Activation-Safe AMs 
Oracle Service Request: SR 3-9979203251 
The trouble with high loads
“Activation-Safe”: What Docs Say 
50.10 Testing to Ensure Your Application Module is 
Activation-Safe 
“If you have not explicitly tested that your application module 
functions when its pending state gets activated from a 
passivation snapshot, then you may encounter an unpleasant 
surprise in your production environment when heavy system 
load tests this aspect of your system for the first time.” 
Developing Fusion Web Applications with Oracle Application Development Framework
“Activation-Safe”: What we say 
Few ADF teams are doing activation-safe testing from 
project start. 
Fixing already built ADF applications is expensive and 
sometimes impossible to fix without significant refactoring.
“Activation-Safe”: What we say 
If max number of users is previously known, the application 
module pool can be configured to suppress recycling. 
Recycling application modules with the purpose of saving 
memory is wrong idea of scalability. 
Activation-safety is mandatory for ADF systems running in 
Failover Cluster environments, otherwise it may be ignored.
Maximum Number 
of Regions 
Code vs performance 
Oracle Service Request: 3-9979119591
Max No of Regions: What Docs Say 
8.3.6 ADFc: Region Usage 
“Adding regions to a page can be a powerful addition to the 
application. However, regions can be a resource-intensive 
component on the page. For better performance, consider using 
regions only when the specific functionality is required.” 
Fusion Middleware Performance and 
Tuning Guide 11 g 
“10 is the maximum amount of regions that you should have on a 
single page just for good performance.” 
ADF Architecture TV -Performance and Tuning - Controller and View Layer
Max No of Regions: Methodology 
Goal Refactoring a complex page with a hierarchy of 25 
regions to a page with a single region, preserving 
the UI Component layout. 
We made sure the data was previously queried 
and cached before page load, so database hit 
would not affect the measurements.
Max No of Regions: Response Time
Max No of Regions: Conclusions 
Subsequent testing while refactoring from 25 regions to 1 region didn’t 
show any significant improvement below 10 regions use. The 
improvement was minimal and increased constantly while number of 
regions decreased. 
Response time overhead when using 25 regions was 100 ms. 
This is less than 2% of the response time, when querying is included. 
Production ADF applications handle thousands of users with 40 regions 
on the landing page.
JSP vs Facelets 
Is conversion to Facelets necessary?
JSP vs Facelets: What Docs say 
“Unlike JSP documents, which are compiled into an 
intermediate Servlet at runtime, Facelets don’t impose this 
unnecessary overhead and build the JSF component tree 
directly. 
This leads to far better performance in the component tree 
creation and page rendering processes.” 
JavaServer Faces 2.0 Overview and Adoption Roadmap in Oracle ADF Faces
JSP vs Facelets: Methodology 
Goal 
Tools 
Migrating a 12c application from jsp to facelets. 
Oracle Application Testing Suite, DMS Spy 
Servlet
JSP vs Facelets: Response Time 
Faster initialization of facelets
References 
http://docs.oracle.com/middleware/1213/adf/develop/index.html 
http://www.oracle.com/technetwork/database/application-development/jdbc-memory-management- 
12c-1964666.pdf 
https://www.youtube.com/watch?v=FO1soDjSpO4 
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adffaces-jsf20-190927.pdf

More Related Content

PPTX
ADF Development Survival Kit
PPTX
ADF Anti-Patterns: Dangerous Tutorials
PPTX
Data Caching Strategies for Oracle Mobile Application Framework
PPTX
Oracle JET CRUD and ADF BC REST
PDF
Oracle JET and ADF BC REST Production Experience with Oracle Java Cloud
PDF
Forms, ADF and JET a Non-Aggression Pact
PPTX
Essential Kit for Oracle JET Programming
PDF
Upcoming JDeveloper ADF Business Components REST support
ADF Development Survival Kit
ADF Anti-Patterns: Dangerous Tutorials
Data Caching Strategies for Oracle Mobile Application Framework
Oracle JET CRUD and ADF BC REST
Oracle JET and ADF BC REST Production Experience with Oracle Java Cloud
Forms, ADF and JET a Non-Aggression Pact
Essential Kit for Oracle JET Programming
Upcoming JDeveloper ADF Business Components REST support

What's hot (20)

PDF
Offline Web with Oracle JET
PPTX
Oracle JET and WebSocket
PPTX
A Designer's Intro to Oracle JET
PDF
Deep Dive into Oracle ADF Transactions
PPTX
Oracle JET overview
PDF
ADF Worst Practices (UKOUG Tech2013)
PPTX
A-Team Mobile Persistence Accelerator Overview
PDF
JavaCro'14 - Consuming Java EE Backends in Desktop, Web, and Mobile Frontends...
PDF
Implementing Data Caching and Data Synching Using Oracle MAF
PDF
Oracle ADF Architecture TV - Design - ADF BC Application Module Design
PDF
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
PPTX
Azure Websites
PDF
AMIS Oracle OpenWorld 2013 Review Part 2 - Platform Middleware Publication
PPTX
ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
PDF
Java EE microservices architecture - evolving the monolith
PDF
Weblogic deployment
PPT
Turbo Enterprise Web 2.0 Ajax World 20081
PDF
Oracle ADF Architecture TV - Design - Task Flow Navigation Options
PDF
Oracle ADF Architecture TV - Design - Task Flow Overview
PDF
Restful Services
Offline Web with Oracle JET
Oracle JET and WebSocket
A Designer's Intro to Oracle JET
Deep Dive into Oracle ADF Transactions
Oracle JET overview
ADF Worst Practices (UKOUG Tech2013)
A-Team Mobile Persistence Accelerator Overview
JavaCro'14 - Consuming Java EE Backends in Desktop, Web, and Mobile Frontends...
Implementing Data Caching and Data Synching Using Oracle MAF
Oracle ADF Architecture TV - Design - ADF BC Application Module Design
Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration
Azure Websites
AMIS Oracle OpenWorld 2013 Review Part 2 - Platform Middleware Publication
ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
Java EE microservices architecture - evolving the monolith
Weblogic deployment
Turbo Enterprise Web 2.0 Ajax World 20081
Oracle ADF Architecture TV - Design - Task Flow Navigation Options
Oracle ADF Architecture TV - Design - Task Flow Overview
Restful Services
Ad

Viewers also liked (18)

PDF
Oracle adf performance tips
PDF
Adf performance tuning tips slideshare
PDF
Real-World Load Testing of ADF Fusion Applications Demonstrated - Oracle Ope...
PPT
ADF Value Proposition in 10 key points
PDF
37727897 Oaf Basics
PDF
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
PPTX
Forms11 presentation at ssuet 05 sep-2012
PDF
ORACLE FRAMEWORK ONLINE TRAINING
DOC
Oracle Application Technical - Hz architecture
PPTX
Tca presentation
PPT
Oaf development-guide
PPT
PDF
Oaf personalization examples
PDF
Oracle TCA 101
PPTX
Building customer relationships without being a creep Chris Hayes R2i - Gil...
PDF
Oaf personaliztion examples
PPTX
Oracle ADF Case Study
Oracle adf performance tips
Adf performance tuning tips slideshare
Real-World Load Testing of ADF Fusion Applications Demonstrated - Oracle Ope...
ADF Value Proposition in 10 key points
37727897 Oaf Basics
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Forms11 presentation at ssuet 05 sep-2012
ORACLE FRAMEWORK ONLINE TRAINING
Oracle Application Technical - Hz architecture
Tca presentation
Oaf development-guide
Oaf personalization examples
Oracle TCA 101
Building customer relationships without being a creep Chris Hayes R2i - Gil...
Oaf personaliztion examples
Oracle ADF Case Study
Ad

Similar to ADF Mythbusters UKOUG'14 (20)

PDF
Make Your Application “Oracle RAC Ready” & Test For It
PDF
Weblogic Cluster advanced performance tuning
PDF
Weblogic performance tuning2
PDF
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
PDF
Performance comparison on java technologies a practical approach
PDF
Mres presentation
PDF
Weblogic performance tuning1
PDF
Weblogic Cluster performance tuning
PDF
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
PPTX
Handling Data in Mega Scale Systems
PPT
Oracle Coherence: in-memory datagrid
PPT
Oracle 10g rac_overview
PDF
Amazon Aurora (Debanjan Saha) - AWS DB Day
PPT
J2EE Batch Processing
PPT
DB2 for z/O S Data Sharing
PDF
đŸ—ïžImprove database performance with connection pooling and load balancing tec...
PPTX
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
PPT
Ops Jumpstart: MongoDB Administration 101
PDF
Impact2014 session # 1523 performance optimization using ibm java on z and w...
PPTX
How to Build Scalable Websites in the Cloud
Make Your Application “Oracle RAC Ready” & Test For It
Weblogic Cluster advanced performance tuning
Weblogic performance tuning2
PERFORMANCE COMPARISON ON JAVA TECHNOLOGIES - A PRACTICAL APPROACH
Performance comparison on java technologies a practical approach
Mres presentation
Weblogic performance tuning1
Weblogic Cluster performance tuning
Architecting and Tuning IIB/eXtreme Scale for Maximum Performance and Reliabi...
Handling Data in Mega Scale Systems
Oracle Coherence: in-memory datagrid
Oracle 10g rac_overview
Amazon Aurora (Debanjan Saha) - AWS DB Day
J2EE Batch Processing
DB2 for z/O S Data Sharing
đŸ—ïžImprove database performance with connection pooling and load balancing tec...
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Ops Jumpstart: MongoDB Administration 101
Impact2014 session # 1523 performance optimization using ibm java on z and w...
How to Build Scalable Websites in the Cloud

More from andrejusb (11)

PDF
Machine Learning Applied - Tabular Dataset Models and Sentiment Analysis
PDF
JavaScript Development on Steroids with Oracle Visual Builder
PDF
Machine Learning Applied - Contextual Chatbots Coding, Oracle JET and TensorFlow
PDF
Reliable, Fast, Engaging Offline-First Architecture for JavaScript Applications
PDF
Machine Learning Applied - Contextual Chatbots Coding, Oracle JET and Tensor...
PDF
Microservice Approach for Web Development with Micro Frontends
PDF
Machine Learning Applied - Contextual Chatbots Coding, Oracle JET and Tensorflow
PDF
Oracle Development Cloud Service
PPTX
Oracle Java Cloud Service: How to Estimate Production System Performance
PPTX
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
PPTX
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Machine Learning Applied - Tabular Dataset Models and Sentiment Analysis
JavaScript Development on Steroids with Oracle Visual Builder
Machine Learning Applied - Contextual Chatbots Coding, Oracle JET and TensorFlow
Reliable, Fast, Engaging Offline-First Architecture for JavaScript Applications
Machine Learning Applied - Contextual Chatbots Coding, Oracle JET and Tensor...
Microservice Approach for Web Development with Micro Frontends
Machine Learning Applied - Contextual Chatbots Coding, Oracle JET and Tensorflow
Oracle Development Cloud Service
Oracle Java Cloud Service: How to Estimate Production System Performance
End-to-End Cloud: Oracle Java Cloud, Oracle Mobile Cloud Service, Oracle MAF,...
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Transform Your Business with a Software ERP System
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
top salesforce developer skills in 2025.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
System and Network Administraation Chapter 3
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPT
Introduction Database Management System for Course Database
PDF
Nekopoi APK 2025 free lastest update
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Design an Analysis of Algorithms II-SECS-1021-03
Upgrade and Innovation Strategies for SAP ERP Customers
Navsoft: AI-Powered Business Solutions & Custom Software Development
Transform Your Business with a Software ERP System
Internet Downloader Manager (IDM) Crack 6.42 Build 41
top salesforce developer skills in 2025.pdf
CHAPTER 2 - PM Management and IT Context
ManageIQ - Sprint 268 Review - Slide Deck
Odoo Companies in India – Driving Business Transformation.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
System and Network Administraation Chapter 3
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Introduction Database Management System for Course Database
Nekopoi APK 2025 free lastest update
How Creative Agencies Leverage Project Management Software.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
VVF-Customer-Presentation2025-Ver1.9.pptx
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus

ADF Mythbusters UKOUG'14

  • 1. ADF Mythbusters Andrejus Baranovskis Florin Marcus
  • 2. Company Profile ADF, ADF Mobile, BPM, SOA, WebCenter Small Team of Experts, Focused on Technical Quality Results Customers – Global Corporations, Medium and Small Business Oracle Technical Blog – 8 Years (~700 posts) Oracle Fusion Middleware Innovation Award 2010, SOA Partner Community Award for Outstanding Contribution Across the Globe 2010
  • 3. Agenda Batches Of AM Pools and DB Connections Pools Activation-Safe Application Modules Maximum Number of Regions Per Page JSP vs Facelets
  • 4. “Batches Of” Oracle Service Request: 3-9978776141 Performance and Memory Impact
  • 6. “Batches Of”: How It Works Batches of 1 - a network round trip for each record
  • 7. “Batches Of”: How It Works Batches of 5 - a network round trip for every 5 records
  • 8. “Batches Of”: What Docs Say 9.2.4.2 Consider Whether Fetching One Row at a Time is Appropriate [...] By default, the framework will fetch rows in batches of one row at a time. If you are fetching any more than one row, you will gain efficiency by setting this in Batches of value. However the higher the number, the larger the client-side buffer required, so avoid setting this number arbitrarily high. If you are displaying results n rows at a time in the user interface, it's good to set the fetch size to at least n+1 so that each page of results can be retrieved in a single round trip to the database. Developing Fusion Web Applications with Oracle Application Development Framework
  • 9. “Batches Of”: Methodology Target Scope Tools 4 ADF applications in production for more than 6 months. Typical use cases: multiple queries per page, returning less than 100 records each. Fetching millions of records over JDBC is out of scope. JMeter, Oracle Application Testing Suite, JRockit, Java Mission Control, Weblogic Console, Spy Servlet, Redsamurai Performance Audit.
  • 10. Batches Of: Test Results No relevant impact when: Less than 15 active user sessions and “Connection Delay Time” is lower than 150 ms.
  • 11. Batches Of: Response Time Response time with 100 user sessions
  • 12. Batches Of: Memory Consumption ADF 11g One user browsing the application
  • 13. Batches Of: Memory Consumption ADF 11g ADF 12c One user browsing the application
  • 14. Batches Of: Conclusions ADF 11g: ADF 12c: Huge impact over memory size due to OJDBC Driver 11g design, intentionally trading memory for performance. Memory impact is significantly lower because new version of OJDBC Driver is less memory hungry. ADF 12c scales better!
  • 15. Batches Of: Conclusions Performance improvement are significant when values are between 10 - 40. Oracle JDBC Dev Team suggests the “Batches Of” (Fetch Size) to be less than 100. Retrieving all records in a single round trip doesn’t necessarily improve performance.
  • 16. AM Pools DB Pools The Great Schism Oracle Service Request: 3-9979146351
  • 17. AM or DB Pools: The Tickbox
  • 18. AM or DB Pools: The Options Begin Request Process Request Send Response jbo.doconnectionpooling=false (Default)
  • 19. AM or DB Pools: The Options Begin Request Process Request Send Response jbo.doconnectionpooling=true
  • 20. “AM or DB Pools”: What Docs Say 51.2.6 What You May Need to Know About How Database and Application Module Pools Cooperate Performance Tip: Leave the “jbo.doconnectionpooling” configuration parameter set to “false” for best performance without sacrificing scalability and reliability. Developing Fusion Web Applications with Oracle Application Development Framework
  • 21. AM or DB Pools: Memory char[] and byte[] (%) in ADF 11g
  • 22. AM or DB Pools: Memory char[] and byte[] (%) in ADF 12c
  • 23. AM or DB Pools: What we say jbo.doconnectionpooling=false used to be best practice with Oracle JDBC Drivers versions 8i or 9i, designed for minimal memory use. Driver’s performance improved by an average of 30% on 10i version, by storing queried data into buffer (char[] and byte[]) arrays. These buffers consume large amounts of memory that gets freed only when statements are closed. Holding statements open in ADF BC is no longer necessary since “Statement Caching” was introduced at Datasource level.
  • 24. AM vs DB Pools: What we say jbo.doconnectionpooling=false brings scalability problems with ADF 11g, but improves on ADF 12c jbo.doconnectionpooling=true is the way OJDBC was designed to be used on latest versions. jbo.doconnectionpooling=false should be either dropped or re-architected (javax.sql.rowset.CachedRowSet )
  • 25. Activation-Safe AMs Oracle Service Request: SR 3-9979203251 The trouble with high loads
  • 26. “Activation-Safe”: What Docs Say 50.10 Testing to Ensure Your Application Module is Activation-Safe “If you have not explicitly tested that your application module functions when its pending state gets activated from a passivation snapshot, then you may encounter an unpleasant surprise in your production environment when heavy system load tests this aspect of your system for the first time.” Developing Fusion Web Applications with Oracle Application Development Framework
  • 27. “Activation-Safe”: What we say Few ADF teams are doing activation-safe testing from project start. Fixing already built ADF applications is expensive and sometimes impossible to fix without significant refactoring.
  • 28. “Activation-Safe”: What we say If max number of users is previously known, the application module pool can be configured to suppress recycling. Recycling application modules with the purpose of saving memory is wrong idea of scalability. Activation-safety is mandatory for ADF systems running in Failover Cluster environments, otherwise it may be ignored.
  • 29. Maximum Number of Regions Code vs performance Oracle Service Request: 3-9979119591
  • 30. Max No of Regions: What Docs Say 8.3.6 ADFc: Region Usage “Adding regions to a page can be a powerful addition to the application. However, regions can be a resource-intensive component on the page. For better performance, consider using regions only when the specific functionality is required.” Fusion Middleware Performance and Tuning Guide 11 g “10 is the maximum amount of regions that you should have on a single page just for good performance.” ADF Architecture TV -Performance and Tuning - Controller and View Layer
  • 31. Max No of Regions: Methodology Goal Refactoring a complex page with a hierarchy of 25 regions to a page with a single region, preserving the UI Component layout. We made sure the data was previously queried and cached before page load, so database hit would not affect the measurements.
  • 32. Max No of Regions: Response Time
  • 33. Max No of Regions: Conclusions Subsequent testing while refactoring from 25 regions to 1 region didn’t show any significant improvement below 10 regions use. The improvement was minimal and increased constantly while number of regions decreased. Response time overhead when using 25 regions was 100 ms. This is less than 2% of the response time, when querying is included. Production ADF applications handle thousands of users with 40 regions on the landing page.
  • 34. JSP vs Facelets Is conversion to Facelets necessary?
  • 35. JSP vs Facelets: What Docs say “Unlike JSP documents, which are compiled into an intermediate Servlet at runtime, Facelets don’t impose this unnecessary overhead and build the JSF component tree directly. This leads to far better performance in the component tree creation and page rendering processes.” JavaServer Faces 2.0 Overview and Adoption Roadmap in Oracle ADF Faces
  • 36. JSP vs Facelets: Methodology Goal Tools Migrating a 12c application from jsp to facelets. Oracle Application Testing Suite, DMS Spy Servlet
  • 37. JSP vs Facelets: Response Time Faster initialization of facelets
  • 38. References http://docs.oracle.com/middleware/1213/adf/develop/index.html http://www.oracle.com/technetwork/database/application-development/jdbc-memory-management- 12c-1964666.pdf https://www.youtube.com/watch?v=FO1soDjSpO4 http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adffaces-jsf20-190927.pdf