Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Copyright © 2010 Apex Evangelists • http://apex-evangelists.com
Moving to the
APEX Listener
Dimitri Gielis
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
About me
2
4
http://dgielis.blogspot.com @dgielis
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Agenda
5
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
What Is This Presentation About
• Answer to two questions:
•...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
What It’s Not
• A definitive guide of the APEX Listener
• How...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Outline
• APEX Architecture
• The three choices
• APEX Liste...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
APEX
Architecture
9
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Architecture Overview
10
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Page Processing
11
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Multi-Tenant Saas
12
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Architecture Overview
13
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
The three
choices
14
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
1) Oracle Http Server (Ohs)
15
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Ohs Advantages
• Long history (from 1999/2000)

(shipped wit...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
17
Ohs Installation Consideration
Webserver
Database
???
• S...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Ohs Disadvantages
• mod_plsql not longer developed
• mod_pls...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Ohs Hints & Tips
• Obfuscate the password in dads.conf
• Mak...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
2) Embedded Pl/Sql Gateway (Epg)
20
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Epg Advantages
• Quick and easy setup
• webserver inside the...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Epg Disadvantages
• More database hits
• More difficult to de...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Epg Hints & Tips
• Set SHARED_SERVERS database parameters hi...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
3) Apex Listener (Standalone)
24
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Advantages
• Oracle actively developing it
• R...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Advantages
• E-Business Suite only certified 

...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Disadvantages
• Not used that much (yet)
• Onl...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
3) Apex Listener & Reverse Proxy
28
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
APEX Listener
Performance
29
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Performance
• Want to compare different webser...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Performance
• The environment (VM)
• Oracle Li...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Performance
• Test scenario
• JMeter as Proxy ...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Performance
33
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Performance Results
• OHS + mod_plsql
• EPG
• ...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener Performance Results
• APEX Listener 1.1
• APEX...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
APEX Listener
Features
36
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 1.1 Features
• No 32K limit
• Native Excel upl...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
APEX Listener
2.0 & Oracle
38
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
39
• Complete new configuration screen
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
• RESTful services are much tighter integr...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Restful Services In Apex 4.1.1
41
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
• Built in virus scanner integration via I...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
43
• Configuration ofVirus scanner
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
• Multi DB Routing in URLs based on url re...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
45
• Multiple environments configuration sc...
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0
• FOP 2 PDF integration
46
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Apex Listener 2.0 & Oracle Cloud
47
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Summary
48
Copyright © 2010 Apex Evangelists
http://apex-evangelists.com
Summary
• APEX Architecture
• The three choices
• Why the AP...
Moving to the APEX Listener
Upcoming SlideShare
Loading in …5
×

Moving to the APEX Listener

24,854 views

Published on

Presentation of 2012 why you should move to the Oracle APEX Listener (ORDS) (compared to Apache and EPG).

Published in: Technology
  • Be the first to comment

Moving to the APEX Listener

  1. 1. Copyright © 2010 Apex Evangelists • http://apex-evangelists.com Moving to the APEX Listener Dimitri Gielis
  2. 2. Copyright © 2010 Apex Evangelists http://apex-evangelists.com About me 2
  3. 3. 4 http://dgielis.blogspot.com @dgielis
  4. 4. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Agenda 5
  5. 5. Copyright © 2010 Apex Evangelists http://apex-evangelists.com What Is This Presentation About • Answer to two questions: • Is the APEX Listener a worthy alternative (to EPG/OHS)? • What advantages does the APEX Listener give me? 6
  6. 6. Copyright © 2010 Apex Evangelists http://apex-evangelists.com What It’s Not • A definitive guide of the APEX Listener • How to install a webserver 7
  7. 7. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Outline • APEX Architecture • The three choices • APEX Listener Performance • APEX Listener Features • APEX Listener 2.0 and the Oracle Cloud 8
  8. 8. Copyright © 2010 Apex Evangelists http://apex-evangelists.com APEX Architecture 9
  9. 9. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Architecture Overview 10
  10. 10. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Page Processing 11
  11. 11. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Multi-Tenant Saas 12
  12. 12. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Architecture Overview 13
  13. 13. Copyright © 2010 Apex Evangelists http://apex-evangelists.com The three choices 14
  14. 14. Copyright © 2010 Apex Evangelists http://apex-evangelists.com 1) Oracle Http Server (Ohs) 15
  15. 15. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Ohs Advantages • Long history (from 1999/2000)
 (shipped with Oracle DB 8.1.7) • A lot of help available for Apache • Many modules to extend Apache • Great configuration options • Easy debugging (check log files) 16
  16. 16. Copyright © 2010 Apex Evangelists http://apex-evangelists.com 17 Ohs Installation Consideration Webserver Database ??? • Same machine • Less moving parts • Lower Latency • Different Machine • More secure • Resilience (out of control OHS processes don’t affect DB machine) • Easier to scale out (add more webservers) • Check license (!)
  17. 17. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Ohs Disadvantages • mod_plsql not longer developed • mod_plsql disabled or not available
 on some environments • e.g. E-Business Suite R12 • No native GUI • Configuration through text files
 e.g. dads.conf • Might be extra cost 18
  18. 18. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Ohs Hints & Tips • Obfuscate the password in dads.conf • Make full use of Apache features • Virtual hosts • Webserver compression • Expiry Headers 19
  19. 19. Copyright © 2010 Apex Evangelists http://apex-evangelists.com 2) Embedded Pl/Sql Gateway (Epg) 20
  20. 20. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Epg Advantages • Quick and easy setup • webserver inside the Database • available in DB 10gR2 and higher 21
  21. 21. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Epg Disadvantages • More database hits • More difficult to debug (through API) • Less features / things to tweak 22
  22. 22. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Epg Hints & Tips • Set SHARED_SERVERS database parameters higher e.g. 15 • Use of dbms_epg package 23
  23. 23. Copyright © 2010 Apex Evangelists http://apex-evangelists.com 3) Apex Listener (Standalone) 24
  24. 24. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Advantages • Oracle actively developing it • Recommended architecture • GUI Interface for configuration • Multiple deployment options
 (standalone,WLS, Glassfish, OC4J) • Improvements over mod_plsql
 (32K limit) • New features in APEX 
 (only available when APEX Listener is used) 25
  25. 25. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Advantages • E-Business Suite only certified 
 with the APEX Listener • Integration with Java 26
  26. 26. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Disadvantages • Not used that much (yet) • Only Oracle resources available
 (compared to others with Apache) • Waiting for Oracle for new features
 (personally don’t mind) 27
  27. 27. Copyright © 2010 Apex Evangelists http://apex-evangelists.com 3) Apex Listener & Reverse Proxy 28
  28. 28. Copyright © 2010 Apex Evangelists http://apex-evangelists.com APEX Listener Performance 29
  29. 29. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Performance • Want to compare different webservers • OHS 11g (port: 7777) • EPG installed (port: 8888) • APEX Listener 1.1 on Glassfish (port: 8080) • APEX Listener 2.0 EA (port: 8081)
 • All in same environment (see next slide) 30
  30. 30. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Performance • The environment (VM) • Oracle Linux 2.6.32-100 x86/64 • Oracle Database 11.2.0.2 • APEX 4.1.1 • Sample application: Product Portal • Authentication set to “No Authentication” 31
  31. 31. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Performance • Test scenario • JMeter as Proxy to record navigation through Sample app • Configure testplan • Run the testplan (next slide) for every webserver 32
  32. 32. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Performance 33
  33. 33. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Performance Results • OHS + mod_plsql • EPG • APEX Listener 1.1 34
  34. 34. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener Performance Results • APEX Listener 1.1 • APEX Listener 2.0 35
  35. 35. Copyright © 2010 Apex Evangelists http://apex-evangelists.com APEX Listener Features 36
  36. 36. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 1.1 Features • No 32K limit • Native Excel upload • Integrated security in front of the database • Caching • Pre- and Post Processing • Debugging en Logging features • RESTfull Webservices (Resource Templates) 37
  37. 37. Copyright © 2010 Apex Evangelists http://apex-evangelists.com APEX Listener 2.0 & Oracle 38
  38. 38. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 39 • Complete new configuration screen
  39. 39. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 • RESTful services are much tighter integrated to APEX yet still standalone for non-APEX shops • RESTful OAuth 2.0 integration 40
  40. 40. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Restful Services In Apex 4.1.1 41
  41. 41. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 • Built in virus scanner integration via ICAP 42
  42. 42. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 43 • Configuration ofVirus scanner
  43. 43. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 • Multi DB Routing in URLs based on url regex matching. For example: • http://mydomain1.myhost.com/  -> goes to DB 1 • http://mydomain1.myhost.com/apex3  -> goes to DB 3 • http://mydomain2.myhost.com/  -> goes to DB 2 44
  44. 44. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 45 • Multiple environments configuration screen
  45. 45. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 • FOP 2 PDF integration 46
  46. 46. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Apex Listener 2.0 & Oracle Cloud 47
  47. 47. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Summary 48
  48. 48. Copyright © 2010 Apex Evangelists http://apex-evangelists.com Summary • APEX Architecture • The three choices • Why the APEX Listener (Performance, Features) • APEX Listener 2.0 and the Oracle Cloud 49

×