september, 2014
DESCRIPTION
Extending Oracle E-Business Suite Release 12.1 and above using Oracle Application Express – Revision 2. September, 2014. Skip Overview. Agenda. Oracle Application Express Overview Building and Deploying Applications Extending Oracle EBS R12 using Oracle APEX Integration Examples Q&A. - PowerPoint PPT PresentationTRANSCRIPT
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2
Extending Oracle E-Business Suite Release 12.1 and above using Oracle Application Express – Revision 2
September, 2014
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3
Safe Harbor StatementThe following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 4
Oracle Application Express Overview
Building and Deploying Applications
Extending Oracle EBS R12 using Oracle APEX
Integration Examples
Q&ASkip Overview
Agenda
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 5
IntroductionOracle Application Express
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 6
Oracle Application Express
• Database-centric development tool for Oracle Database application development• Targeted at Web-based developers who know SQL and PL/SQL• Develop Desktop and Mobile applications• 100% Browser-based Development and Runtime• Declarative framework for rapid application definition, and full application life cycle. • On premise, on laptop, on cloud, on RAC, any platform Oracle DB is available
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 7
HTML DB 1.5 First ReleaseHTML DB 1.6UI Themes
2004 2007 2012
APEX 2.1 Oracle XE
APEX 2.2 Supporting DB Objects
for full app installation and upgrade
APEX 3.1 Interactive
Reports
HTML DB 2.0
SQL Workshop
APEX 3.0 Flash Charts PDF Printing Access Migration
APEX 3.2 Oracle Forms to
APEX Conversion
APEX 4.1 Data Upload Error Handling ROWID
2006 2009 201120082005
APEX 4.2 Mobile HTML5 Packaged Apps
APEX 4.0 Websheets Dynamic Actions Plug-Ins Team Development
2010 2013 2014 / 5
Application Express 5.0* Universal Theme Page Designer UI Modernization HTML5 Plugins
4.2.54.2.1 4.2.2, 3, 4
APEX 4.2 Dot Releases Improved
Packaged Apps
Development initiated August 1999*Available in Early Adopter Only (apexea.oracle.com)
Also known as Oracle APEX (a'peks)History
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 8
Fully supported no-cost feature of the Oracle Database• Supported as a no-cost feature of the Oracle Database
• No cost feature of database 10gR2 (10.2.0.4 +), 11gR1, 11gR2, 12c• Any number of developers, applications, any number of end-users• Specialized Oracle Support Team – Included with Database Maintenance Agreement• All database editions: EE, SE, SE1, XE• Exadata, ODA, RAC, Partitioning, Compression, InMemory, Multitenant…
• Distribution• Distributed with all editions of Oracle database 11g and 12c
• Available as a download from OTN
• Oracle Cloud Services• “Oracle Database Cloud Service” aka schema since October 2012.
Sold as a fully managed service with 1GB free trial, and 5, 20, 50 GB paid services.• Available as “development only” customer evaluation service on
http://apex.oracle.com
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 9
Architecture
• Mid tier = Oracle REST Data Services• Directs calls to APEX Apps to the APEX run-time engine
• Accepts RESTful Web Service call URIs and directs them to the appropriate SQL statement or PL/SQL block
• Recommended mid tier for Oracle APEX.
• Can also use Embedded PL/SQL Gateway (EPG) and Oracle HTTP Server (OHS).
• Application Meta Data stored in the Oracle DB• Oracle Application Express is written largely in PL/SQL• Pages dynamically rendered using database metadata
• No code generation or file based compilation
(Proxies client requests to APEX engine in DB)
Simple 2-Tier Architecture
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 10
Data SourcesUtilize the Oracle Database / Web Services
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 11
CollateralOracle Technology Network http://otn.oracle.com/apex
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 12
Collateral – Getting StartedOracle Technology Network http://otn.oracle.com/apex
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 13
Hosted ServiceFree for “Development Only” http://apex.oracle.com
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 14
Hosted ServiceOracle Database Cloud Service http://cloud.oracle.com
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 15
Pseudo Demo Flow: Building and deploying an Application
Oracle Application Express
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 16
1. Initiate Create App Wizard 2. Add Pages
3. Confirm and Create 4. Run the Application
Create a report and form on a table
Building ApplicationsApplication Builder Build Application Wizard
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 17
1. From Runtime click ‘Edit Page x’ 2. Select page component
3. Edit component, click ‘Apply Changes’ 4. Click ‘Run’ to view changes
Building Applications – Editing an ApplicationIterate from Runtime Development Runtime Repeat
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 18
1. Export Application 2. Export generates a SQL Script
3. Provide File to DBA
4. DBA Runs Script in Production
@f123.sql
Building Applications – Deploying an ApplicationVery easy to deploy to Test / Production once development complete
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 19
Extending Oracle E-Business Suite Release 12 using Oracle Application Express
Oracle Application Express
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 20
• Outlines best practices for developing fully supported E-Business Suite R12 Extensions
• Provides certified / supported architecture• Includes detailed steps for configuration,
integration and security• Downloadable sample application and code• Collaboration between Oracle E-Business Suite
and Oracle Application Express development teams
OTN: http://www.oracle.com/technetwork/developer-tools/apex/learnmore/apex-ebs-extension-white-paper-345780.pdfOracle Support Link: https://metalink.oracle.com/metalink/plsql/showdoc?db=NOT&id=1306563.1
Oracle White Paper
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 21
• Custom Application Development Real time queries on EBS, with option to update EBS data using APIs Deliver net new business functionality (not covered by EBS) Additional reporting and analysis Custom data collection / workflows Personalization of complex EBS workflows Modernization of custom Oracle Forms applications
• Customization of Existing EBS Pages and Process Flows Oracle APEX is NOT capable of supporting this use case
Use Cases
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 22
Middle Tier Database TierWeb Browser
Application Server
Oracle HTTP Server
Oracle WebLogicServer*
Oracle Database Server- Oracle E-Business Suite- Oracle Application Express
Oracle RESTData Services
EBS RequestsAPEX Requests
Certified Middle-Tier Configuration – Release 12.1
* Oracle Glassfish Server or Apache Tomcat can be substituted for Oracle WebLogic Server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 23
Application Server
Middle Tier Database TierWeb Browser
Application Server
Oracle HTTPServer
Oracle WebLogicServer*
Oracle Database Server- Oracle E-Business Suite- Oracle Application Express
* Oracle Glassfish Server or Apache Tomcat can be substituted for Oracle WebLogic Server
Oracle RESTData Services
EBS RequestsAPEX Requests
Alternate Middle-Tier Configuration – Release 12.1
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 24
Application Server
Middle Tier Database TierWeb Browser
Application Server
Oracle WebLogicServer
Oracle WebLogicServer*
Oracle Database Server- Oracle E-Business Suite- Oracle Application Express
* Oracle Glassfish Server or Apache Tomcat can be substituted for Oracle WebLogic Server
Oracle RESTData Services
EBS RequestsAPEX Requests
Certified Middle-Tier Configuration – Release 12.2
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 25
Grant Select
Standard published EBS APIsAPEX Workspace
APPS Schema
APEXEngine
Oracle E-Business Suite Database
APEX_EBS_EXTENSION Schema
APEX_040200 SchemaAPEX Application
Certified Database Configuration
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 26
Grant Select
Standard published EBS APIsAPPS Schema
Oracle E-Business Suite Database
APEX_EBS_EXTENSION Schema
APEXEngine
APEX_040200 Schema
Local Database
APEX Workspace
APEX_EBS_LOCAL SchemaAPEX Application
APEX_EBS_DBLINK Database Link
Alternate Database Configuration
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 27
• APEX development performed on development instance of EBS• Not using APPS schema allows applications to run with least privilege• Privileges on APPS tables selectively granted to APEX DB schema• Look and feel can mimic EBS or use a different user interface theme• EBS Menus can be used to provide links to APEX Applications• APEX Authentication can use EBS authentication (SSO, OAM, Custom)• APEX Authorization Schemes can enforce EBS roles and responsibilities• Both SOAP and RESTful web services can be used within applications• EBS and/or APEX can be patched without impacting the other tool
Development Considerations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 28
• Deployment is performed connected to APEX schema, not APPS• Deployment or patching of APEX applications performed using
SQL*Plus script(s)• Database resource manager can constrain APEX resource consumption• SQL within applications is run as the APEX user• APEX client info is set for each session, with application and page details• DBAs can correlate slow SQL, based on the APEX client info, to a SQL
statement defined in a specific APEX application and page• Monitoring of APEX can be done using Oracle Enterprise Manager
Deployment Considerations
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 29
• Oracle BI PublisherBI publisher is a reporting engine <> Oracle APEX is an application development toolOracle APEX uses BI Publisher to produce rich PDF output
• OBIEEOBIEE is query only <> Oracle APEX allows insert, update, deleteOBIEE supports many databases <> APEX supports only OracleOracle APEX is frequently used to add update capabilities alongside OBIEE applications
• Application Development Framework (ADF) and Mobile Application Framework (MAF)All are designed to build modern HTML Web ApplicationsAll can be used to build desktop and mobile applicationsOracle APEX is the primary tool for SQL professionals <> ADF is the primary tool for Java professionals
• Oracle FormsBoth are declarative, and leverage developers’ SQL and PL/SQL skillsOracle APEX runs Native HTML Web Applications <> Forms uses Java Applets to run on the WebOracle APEX is often used to redevelop legacy Oracle Forms applications
Comparing Application Express and Other Oracle Products
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 30
Example Integrations Oracle Application Express
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 31
• Oracle’s E-Business Suite Global Single Instance (GSI) is used by the whole organization, in every region
• Extensions are built against GSI with Oracle Application Express to meet Oracle’s own business requirements
• Special approvals need to be requested in order to modify GSI in any way other than by using Oracle Application Express extensions
• Specifications for generally applicable requirements are then sent back to E-Business Suite Development Team based on the relevant Application Express extension
Oracle’s E-Business Suite GSI [Internal Only – Intranet App]Extending our internal deployment used to run Oracle business
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 32
• Integrated with Oracle’s E-Business Suite Global Single Instance (GSI)• APEX authentication tied to EBS roles and responsibilities
Stand-alone application integrated with E-Business Suite
Quote Request System (QRS) [Internal Only – Intranet App]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 33
Quote Request System (QRS)
• Non-EBS (local) database objects used by QRS are maintained by APEX Developers, outside of EBS database objects
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 34
• Local database views reference APPS tables• APEX Developers only see what the MISQRS schema has been granted
- Not all EBS database objects, or even all columns within an APPS table
Quote Request System (QRS)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 35
• Data can readily be retrieved from both local APEX tables and EBS tables
Quote Request System (QRS)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 36
• Details of quote pulled directly from EBS Quoting• Page allows comments to be placed by Sales to Quoters• Change requests and quote responses all stored in local APEX tables• Quote updates sent back to GSI via EBS APIs
Quote Request System (QRS)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 37
http://shop.oracle.comOracle Store [Internet Application]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 38
• Used by the public to order Oracle products
• Integrates with > 12 back-end systems
• Multi-lingual• Different business
logic for each country
http://shop.oracle.comOracle Store [Internet Application]
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 39
ARIA PeopleHR Directory [Internal Only – Intranet Application]
• Nightly download of HR data• Employees can update profile,
upload picture, add links ... • Used to contact employees,
see Org. Chart, etc.• Average ~ 1.5 million
page views / day• Average 40,000 distinct IPs• Median execution time of
0.05 seconds
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 40
• Extended E-Business Suite 11i• Migrated to E-Business Suite R12.1• EBS Responsibilities tied to Army Rank• APEX Extension completes complex
assignment by selecting Rank rather than manually maintaining responsibilities.
EBS Extension
Customer ReferenceUnited States Army
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 41
• Extended E-Business Suite (EBS)• Stand-alone application for quoting
and order entry of complex engineer-to-order assemblies
• Salesmen log into APEX not EBS• Tightly integrated with EBS for BOM,
routings, workorders, invoicing, and security
EBS Extension
Customer ReferenceFarwest Steel
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 42
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 43