{"id":840,"date":"2008-09-17T14:55:11","date_gmt":"2008-09-17T18:55:11","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/"},"modified":"2008-09-17T15:03:08","modified_gmt":"2008-09-17T19:03:08","slug":"oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/","title":{"rendered":"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway"},"content":{"rendered":"<p><strong>Apex<\/strong> (<strong>Application Express<\/strong> \/ earlier HTMLDB) : is web application development tool for Oracle Database.<\/p>\n<p><strong>Components in Apex<\/strong> : Oracle Database, tables and PL\/SQL code in database, Apex Engine, Oracle\u00a0HTTP Server (optional from 11.1 database), PL\/SQL gateway (from 10g EX or 11.1 and higher only) in place of Oracle HTTP Server<\/p>\n<p><strong>Request flow in Apex <\/strong>:<br \/>\nUser type in Apex URL in browser -&gt; Request hit web server (or XML DB HTTP Server)\u00a0-&gt; Web server forward this is PL\/SQL call to database \u00a0-&gt;\u00a0\u00a0Database Processes\u00a0 APEX PL\/SQL call and return result to web server as HTML page -&gt; Web Server return web page to user<br \/>\n.<\/p>\n<p><strong><u>Changes in APEX architecture from Oracle database 11.1 and higher<br \/>\n<\/u><\/strong>From Oracle database 11g (11.1 and higher) or Oracle XE (10g),\u00a0 you could use either <strong>Oracle XML DB Web Server<\/strong> (installed as part of database)\u00a0or standalone <strong>Oracle HTTP Server<\/strong> (Apache with <strong>mod_pls<\/strong>)<\/p>\n<p><strong>Option 1<\/strong>. For Oracle DB prior to 11.1 (or XE 10g)\u00a0:\u00a0 Oracle database versions prior to 11.1 require Oracle HTTP Server (Apache with mod_plsql) to access Apex .<\/p>\n<p><a href=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG\" \/><\/a><\/p>\n<p>.<\/p>\n<p><strong>Option 2<\/strong>. From Oracle Database version 11.1 and higher (or 10g XE) you could use embedded PL\/SQL gateway (XML DB Web Server)\u00a0hence removing need of Oracle HTTP Server (Apache with mod_plsql) as<\/p>\n<p><a href=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_2.JPG\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_2.JPG\" \/><\/a><br \/>\n<strong>\u00a0<\/strong><\/p>\n<p><strong>.<\/strong>\u00a0<\/p>\n<p><strong>What is Oracle DB embedded PL\/SQL Gateway ?<\/strong><br \/>\nEmbedded PL\/SQL gateway provides Oracle Database with Web Server and infrastructure to create dynamic applications. Embedded PL\/SQL gateway runs in <strong>XML DB HTTP Server<\/strong>in Oracle Database and includes core features of mod_plsql (apache module for pl\/sql), hence removing need of Oracle HTTP Server (Apache web server with additional modules from Oracle)<\/p>\n<p>.\u00a0<\/p>\n<p><strong><u>How to configure Apex with embedded PL\/SQL Gateway<\/u> ?<\/strong><\/p>\n<p><strong>1.<\/strong> Run <strong>apxconf.sql<\/strong> ($ORACLE_HOME\/apex)\u00a0 &#8211; enter <strong>ADMIN<\/strong> password and <strong>XML DB HTTP Server port <\/strong>when prompted<br \/>\n<strong>2.<\/strong> Unlock <strong>ANONYMOUS<\/strong> account (SQL&gt; ALTER USER ANONYMOUS ACCOUNT UNLOCK;)<br \/>\n<strong>3. <\/strong>Access\u00a0\u00a0Apex using <strong>http:\/\/hostname:port\/apex\/apex_admin<\/strong>\u00a0\u00a0 (where port is port you mentioned above, username as ADMIN and password you entered above)<\/p>\n<p>.<\/p>\n<p><strong><u>How to Enable\/Disable or change Port\u00a0Oracle XML DB HTTP Server<\/u><\/strong> ?<\/p>\n<p><strong>To disable<\/strong><br \/>\n1. Connect to database as sysdba &amp;<br \/>\nSQL&gt;EXEC DBMS_XDB.SETHTTPPORT(0);<br \/>\nSQL&gt;COMMIT;<\/p>\n<p><strong>To Enable<\/strong><br \/>\n1. Connect to database as sysdba &amp;<br \/>\nSQL&gt;EXEC DBMS_XDB.SETHTTPPORT(web_port);<br \/>\nSQL&gt;COMMIT;<\/p>\n<p><strong>To check current XMLDB HTTP Server Port<\/strong><br \/>\nSQL&gt; SELECT DBMS_XDB.GETHTTPPORT FROM DUAL;<\/p>\n<p>Interested in developing web application using Apex but don&#8217;t want to install\u00a0Apex or Database\u00a0then try <a target=\"_blank\" href=\"http:\/\/apex.oracle.com\/\">http:\/\/apex.oracle.com<\/a><\/p>\n<p>.<\/p>\n<p><strong>References <\/strong><\/p>\n<ul>\n<li><a target=\"_blank\" href=\"http:\/\/download.oracle.com\/docs\/cd\/B28359_01\/install.111\/b32006\/postcfg.htm#BABEJGJH\"><span target=\"_blank\" id=\"lw_1221676674_4\">Post 11g Install Steps for Apex\u00a0\u00a0<\/span><\/a><\/li>\n<\/ul>\n<p><span target=\"_blank\"><\/span><span target=\"_blank\" id=\"lw_1221676674_4\"><\/span><span target=\"_blank\" id=\"lw_1221676674_4\"><font color=\"#ff0000\">Creating workspace, users in Oracle Application Express (Apex) coming soon..<\/font><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apex (Application Express \/ earlier HTMLDB) : is web application development tool for Oracle Database. Components in Apex : Oracle [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-840","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway -\" \/>\n<meta property=\"og:description\" content=\"Apex (Application Express \/ earlier HTMLDB) : is web application development tool for Oracle Database. Components in Apex : Oracle [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/\" \/>\n<meta property=\"article:published_time\" content=\"2008-09-17T18:55:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-09-17T19:03:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/\",\"name\":\"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG\",\"datePublished\":\"2008-09-17T18:55:11+00:00\",\"dateModified\":\"2008-09-17T19:03:08+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#primaryimage\",\"url\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG\",\"contentUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/","og_locale":"en_US","og_type":"article","og_title":"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway -","og_description":"Apex (Application Express \/ earlier HTMLDB) : is web application development tool for Oracle Database. Components in Apex : Oracle [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/","article_published_time":"2008-09-17T18:55:11+00:00","article_modified_time":"2008-09-17T19:03:08+00:00","og_image":[{"url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG","type":"","width":"","height":""}],"author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/","url":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/","name":"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#primaryimage"},"image":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#primaryimage"},"thumbnailUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG","datePublished":"2008-09-17T18:55:11+00:00","dateModified":"2008-09-17T19:03:08+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#primaryimage","url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG","contentUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2008\/09\/apaex_1.JPG"},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2008\/09\/17\/oracle-application-express-apex-architecture-and-changes-from-oracle-database-11g\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Oracle Apex Architecture and configure Apex using embedded PL\/SQL gateway"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=840"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/840\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}