<Insert Picture Here> Erstellen innovativer Webanwendungen mit Oracle Application Express 3.0 Lutz Kahlenberg, Senior Leitender Sales Consultant
Einführung Architektur Oracle Application Express EPG / XE / apex3.0.1 / XE->SE/EE / BIP Weshalb Application Express Beispiele / Referenzen STRATO Oracle Server Apex neue Features Ausblick 11g / Apex4.0 Infobasis
Das Problem: IT-Fundstücke Excel-Spreadsheets als Datenbanken PC-Datenbanken als Einzelplatz/Abteilungslösung => unabhängig,schnell,einfach,kostengünstig!!!??? Daten/Applikations-Sicherung? Ausfallsicherheit? Abteilungsübergreifend? (Multiuserbetrieb) Sicherheit? Redundanzen? (Daten & Anwendungen) Integration? Skalierbarkeit,Portabilität? Web-Fähigkeit? Abteilung A Abteilung B Abteilung A
Die Lösung: Oracle Application Express Zentrales entwickeln, verteilen und verwalten Zugriff von überall über Browser Deklarativer Entwicklungsansatz Spreadsheets Desktop DB File Server
Lösung: Oracle Application Express Die Vorteile einer Einzelplatzdatenbank. Unabhängigkeit Einfache Bedienung Schnelle Ergebnisse kombiniert mit einer zentralen Datenbank Sicherheitskonzepte Datenintegrität - Teamwork - Verwaltung Verfügbarkeit, Performance,. Skalierbarkeit, Portabilität => Investitionsschutz durch Web-Technologie überall (ohne ClientInstall) verfügbar!
Was ist Oracle Application Express? Komplettes Framework Navigationskontrolle Sicherheitskonzepte Session State Management Berichte, Formulare, Grafiken 100% Browser-basiert Packaged Applications MS Access Replacement... 100% Oracle Datenbank RAC-Option/Grid Partitioning Virtual Private Database Transparent Data Encryption, Oracle Text, Oracle Spatial Oracle AQ... PL/SQL- BusinessObjects Integration mit Oracle Fusion Middleware
APEX Historie 2007 Application Express 3.0 Migration Workshop, Flash Charts, Drag & Drop, PDF Printing 2006 Application Express 2.2/2.2.1 Packaged Applications 2006 Application Express 2.1 Oracle XE 2005 HTML DB 2.0 SQL Workshop 2004 HTML DB 1.6 Themes 2004 HTML DB 1.5 First Release 1999 Internal R&D Consulting, Oracle Web Calendar
APEX Entwicklungsansätze Strategischer Ansatz Design Implementierung Test Abnahme Betrieb Pragmatischer Ansatz K(L)eine Designphase Schnelle Inbetriebnahme Flexible Änderungen Einfache Entwicklung PL/SQL Entwickler Nicht-professionelle Entwickler Power User (Abteilungs-Ebene ) Projektebene Unternehmenweit APEX OracleXE PC-Datenbank J2EE Abrundung der Oracle Developer Tools und Fusion Middleware Pragmatisch Strategisch
Oracle Application Express Einführung Architektur EPG / XE / apex3.0.1 / XE->SE/EE / BIP / 11g Weshalb Application Express Beispiele / Referenzen Apex neue Features Ausblick
Oracle Application Express: Architektur... Endanwender Entwickler Web W e b - S e r v e r Oracle- Datenbank Non-Oracle DB Administrator Browser mod_plsql Oracle Application Express FlatFiles
Application Express - Architecture Embedded PL/SQL Gateway mit XE und 11g, 100% database encapsulated (Oracle XE / 11g) Apache and mod_plsql. (static images, CSS, javascript served from file system (ab Oracle 9.2.0.3 / 10g)
APEX Workspace-Konzept Virtual Private Database Konsolidierte Applikationen Self-Service Provisionierung Admin, Developer, End-User
Oracle Database EXpress Edition www.oracle.com/technology/xe Browser Oracle10g Release 2 Datenbank http(s) http://lkahlenb:8080/htmldb XMLDB Protokollserver embedded plsql Gateway 100% Kompatibilität zwischen... und
XE upgrade auf Apex3.0.1 Backup XE download & unzip apex301.zip (ggf. toc3.htm nach apex/images/ kopieren von: http://apex.oracle.com/i/doc_helper/toc3.html) Upgrade Apex SET PATH=C:\oraclexe\app\oracle\product\10.2.0\server\BIN;%PATH% cd C:\APEX301\apex set ORACLE_SID=XE sqlplus / as sysdba @apexins admin SYSAUX SYSAUX TEMP /i/ @apxldimg.sql C:\APEX301 (!!!) @apxxepwd.sql admin Sprache nachinstallieren set NLS_LANG=American_America.AL32UTF8 sqlplus / as sysdba ALTER SESSION SET CURRENT_SCHEMA = FLOWS_030000; @builder/de/load_de.sql
XE Migration nach SE,EE Schritte 1 Vorgehensweise, Erfahrungen (UPGRADE GUIDE!) 0. Ausgangszustand produktive XE/Apex2.1 listenerport:1522 httpport:8082 OracleRDBMS-Software 10.2.0.3 10gListener (Port=1521) vorhanden 1. 10.2.0.3 Patch7 installieren 1.1. OPATCH 10.2.0.3.2 installieren p4898608_10203_generic.zip nach ORACLE_HOME10.2.0.3 1.2 unzip p6038241_10203_winnt.zip 1.3 opatch apply ( Aufruf aus unzip-directorie / ORACLE_HOME setzen! Opatch in PATH ) Windows: ggf. oci.dll Problem 2. unzip apex_3.0.1.zip nach ORACLE_HOME 10.2.0.3 3. DBUA aus ORACLE_HOME 10.2.0.3 aufrufen Auswahl XE,... mit Datenbank sichern 4. Post-Upgrade Aktionen 1 4.1. Listener starten 4.2. DBConsole starten Metalink-Note 445301.1 ( DBConsole does not come up after 10.2.0.3Patch7 apply )
XE Migration nach SE,EE Schritte 2 Vorgehensweise, Erfahrungen (UPGRADE GUIDE!) 4. Post-Upgrade Aktionen 2 4.3. ggf. ( XE-Service) XE-Listener löschen [ X. RESTORE-BACK ] Aus ORACLE_BASE10.2.0.3/admin/XE/backup XE_restore starten ggf. DBConsoleService löschen / ORACLE_HOME10.2.0.3 bereinigen 5. SE-Features? JAVA nachinstallieren mittels DBCA 6. OHS - Zugriff Installieren OHS (mein Ausgangszustand lauffähiger OHS) Anpassen DAD ( mit /i/ ) + APEX_PUBLIC_USER ALTER USER APEX_PUBLIC_USER identified by admin; ALTER USER APEX_PUBLIC_USER ACCOUNT UNLOCK; 7. Applikationscheck EPG-Security nach (wwv_flow_epg_include_mod_local ) Subfolder in /i/? (= IMAGE_PREFIX)
XE Migration: Ausgangszustand
XE Migration:... DBUA...
XE Migration Ergebnis: APEX archivelog
XE Migration Ergebnis: /i/
XE Migration Ergebnis: Applikationstest
PDF Reporting via BI Publisher oder Apache FOP Integration mit BI Publisher (10.1.3.2) Standard Support: BI Publisher oder Standard XSL-FO Processing Engine Advanced Support: BI Publisher erforderlich Deklarative PDF Reporting Services: Seiten-Aufbau, Farbe, Schriftarten Professionelle Report-Layouts: Charts, Visualisierung XLS-FO oder RTF Templates Umfangreiche Dokument-Formate (PDF, Word, Excel, HTML)
PDF Reporting (Server)Konfiguration Integration mit BI Publisher (10.1.3.2)
..und wie funktioniert es? Rapid Application Development DEMO mittels
Oracle Application Express Einführung Architektur Weshalb Application Express Beispiele / Referenzen Apex neue Features Ausblick
Why Application Express? Rapid Web Application Development Leverage your Oracle SQL Skills Database Encapsulated Fast and Scalable 100% Browser Based Development, Deployment, & Runtime Declarative; no scripting, no 3GL code, no compiling, no files Single File Deployment Software as a Service (SaaS) Enabled Transition non-web Application to the Web Unique product with Robust Community and High Adoption Empower departments to create their own applications Fills void between Access and Java Span spectrum from small department to enterprise Fill in gaps in commercial off the shelf software http://www.oracle.com/technology/products/database/application_express/index.html
Why Application Express? Rapid Web Application Development Robust framework makes development easier, more standardized!!
Why Application Express? Fast and Scalable (continued) Internal Oracle employee directory application daily page views
Why Application Express? Fast and Scalable (continued) Internal Oracle employee directory application hourly page views
Why Application Express? Fast and Scalable (continued) Internet Hosted Service apex.oracle.com Over 10,000 workspaces, over 27,000 distinct applications 1,400,000 page views/week Dell PowerEdge 1950 with 2 dual core 2.33GHz processors 16GB RAM ~$5,000 Internal Employee Directory Application ~400,000 page views per day ~7 page views per second for busiest hour Intranet Hosted APEX Services 1,600 Workspaces 5,300 Applications 271,000 Weekly Page Views 11g improves Oracle APEX performance Overall Improved Performance of PL/SQL Use of the /* result_cache */ query hint internally within Oracle APEX Improved SQL Performance
Why Application Express? Single File Deployment Packaged Applications Verify Install Pre-requisites Install Database Objects Install Application Definition Load custom Images, CSS and JavaScript if needed Deinstall of supporting objects and application Oracle distributes over 30 applications via OTN
Why Application Express? Software as a Service (SaaS) enabled Allows IT department to host a development service, allowing the IT department to manage the data and the database. Hosted APEX allows departmental developers the freedom to build the applications they need to quickly and easily. Oracle APEX was designed from the beginning to be multitenant allowing a single Oracle database to provide a virtual private database to thousands of customers. same advantage the web provides end-users to developers well for hosted activities since you only need to open a web port
Why Application Express? Transition non-web applications to the web When excel spreadsheets need concurrent user access, database capabilities, and web deployment the data can be moved into an Oracle database with an Oracle APEX user interface (UI). Microsoft Access applications have insufficient security and performance for some applications, moving these applications to Oracle APEX provides a modern web UI and an enterprise class database.
We think it's a unique product. It's kind of like Microsoft Access but it's not a thick client. It's kind of like Ruby and PHP (Hypertext Preprocessor) but it's not really scripting and it's not a framework in a 3GL like C# or J2EE," Like APEX, Ruby and PHP also are designed for building simple, straightforward Web applications. But these scripting languages are more complicated than APEX. Mike Hichwa, vice president of software development at Oracle.
Einführung Architektur Oracle Application Express EPG / XE / apex3.0.1 / XE->SE/EE / BIP Weshalb Application Express Beispiele / Referenzen STRATO Oracle Server Apex neue Features Ausblick 11g / Apex4.0
Oracle partner Paetec Communications is using APEX as the foundation for the next release of its Pinnacle Communications Management Suite, a suite of tools for managing technology services that runs exclusively on Oracle's database. "We want to go for minimum-work maintainability. We were focused on life-cycle cost and support of the application," said Larry Foster, Paetec's vice president of technology. Paetec considered using a Java platform but decided APEX would team more efficiently with Oracle's database. By pushing much of the business logic for Pinnacle into the database layer, Paetec saves itself and its clients the hassles of separately supporting the application's infrastructure, Foster said. The software also allows Paetec's customers to more easily customize their Pinnacle deployments.
TUI - Hapag Lloyd Flug
Access-Ablösungen bei AUDI
Beispiel-Bericht mit SAP R/3 Daten Application Express Ergebnis http BAPI- Applikation RFC, BAPI, idoc select * from sapview_1; create view sapview_1 as select * from TABLE(sapproc_1); create or replace function sapproc_1 return RETURN SAPTTAB_COMPANY_LIST1 PIPELINED PARALLEL_ENABLE
Application Express - Customers
Der STRATO Oracle Server Angebot vorkonfigurierter Systeme Outsourcing (für den Mittelstand) Argumente : hohe Kostenersparnis durch die Konzentration auf das Kerngeschäft flexible Anpassung der IT an wechselnde Geschäftserfordernisse/prozesse (in Funktionalität und Kapazität) flexible Kostenanpassung erhöht Wettbewerbsfähigkeit (keine langfristigen finanziellen Investments) betriebsbereite, standardardisierte Lösungen verkürzen Projektlaufzeiten planbare und bewertbare Fixkosten während des Betriebes Installationsaufwand kalkulierbar Installation, Patching, Konfiguration wird geliefert Installation Know-How, wiederverwendbares scripting beim Kunden i.a. gering Probleme (metalink-recherchen..) bereits gelöst und wiedererkannt =>Erfahrungswerte+Know-How beim Hoster effektiver ortsunabhängiger Zugriff (bereitgestellter sicherer RemoteZugriff ) i.a. ist in Firmennetzen ein remote Zugriff nicht/kaum vorbereitet schnelle Inbetriebnahme geringe Clientanforderungen + Bereitstellung erprobter Clientsoftware
Der STRATO Oracle Server Angebot vorkonfigurierter Systeme Ora-Client,ODBC DBConsole Application Express NX, ssh,.. Application Express VPN SE1+OHS+APEX SQLDeveloper Jdeveloper GC Agent OEL4 XE/APEX SQLDeveloper Jdeveloper Install-SW Backup/Restore-Job DB DB Install-SW! SE1+Support! Backupspace
Synergien STRATO - Oracle Angebot vorkonfigurierter Systeme -STRATO bisher vollautomatisierte Bereitstellung von Servern HW-Datenbank (vollautomatisierte Zuordnung/Freigabe von HW inkl. Funktionscheck) Kundenauftrag über KundenServiceBereich löst Zuordnung und Installationsprozess aus angefordertes BSImage wird installiert (auch Neuinstallation kann angefordert werden) Kundenzugriff dann über SSH, KVM...Browser Add-on Backupspace und BACKUP-SW leistungsfähiger KSB: Hilfe (FAQ...)Bereich, Angebot von Monitoring-Services,... - neu vollautomatische Installation einer Oracle Infrastruktur (Basis OEL Image) wird analog bisheriger Vorgehensweise nach Kundenanforderung ausgelöst Installation,Patching,Konfiguration von Oracle SE1 mit OHS und APEX auf Server1 vollständig SILENT-Install (modular, kein Image! ) in einem Prozess Installation von Oracle XE und SQLDeveloper auf Server2 Zugriff für grafische Interaktion über vorkonfiguriertes NX Bereitstellung erprobter Clientsoftware und Zusatzdienste (DB-Backup/Recovery) -neu NutzungsAngebot - Server1: Datenbank-ProdunktionsServer (SE1 + OHS) - Server2: Test und Entwicklungsrechner ( XE+SQLDeveloper,Jdeveloper) [ Applikationsserver ]
Der STRATO Oracle Server kompletter Oracle-Stack : Betriebssystem : Oracle Enterprise Linux 4 [+5] Datenbasis : Applikationsentwicklung : Oracle DatenbankServer ( SE1 + OHS) ApplicationExpress SQLDeveloper, Jdeveloper ([ZendCore]php) SW-Verwaltung : Support : weitere Dienste : Oracle GridControl Agent (Inventory) RDA (Dokumentation, Support-Vorbereitung) [GC Provisioning Pack?] Apex-Applikationen forum, ask_expert URLs: otn-foren, download/faq-sites Backup/Recovery-Job [ managed Service: GridControl ] [ DruckService: BI-Publisher ]
Der STRATO Oracle Server KSB
Der STRATO Oracle Server Konfiguration Server: - ports freischalten - OpenVPN konfigurieren Client: - ssh (putty, ) konfigurieren (server, proxy, ggf port-tunnel) - NX konfigurieren - OpenVPN-Client - Browserzugriffe - Instantclient + ODBC
Der STRATO Oracle Server: ODBC(Server1)
Der STRATO Oracle Server: DBConsole(Server1)
Der STRATO Oracle Server: NX (Server2) SqlDeveloper=> SE1/Server1!
Oracle Application Express Einführung Architektur Weshalb Application Express Beispiele / Referenzen Apex neue Features Ausblick
APEX Release 3.0 New Features Deklarative PDF-Reporting Services Flash-Charts Drag & Drop Item-Layout Erweiterte Web-Services Access Migration Workshop Neue Item-Typen Kalender-Erweiterungen Supporting-Objects Erweiterungen Page & Region Caching Item-Sucherweiterungen Applikations- und Schema-Vergleiche Bookmark URL s Verbesserte Workspace-Administration und vieles mehr
Reports Unterschiedliche Layouts & Seitenumbrüche Spalten-Sortierung Export in CSV oder XML-Dateien Assoziierte Print-Attribute Drill-Down Funktionalität in Reports, Charts, Forms Verwendung von Authorization Schemes Externe Verarbeitung via URL
Deklarative PDF Reporting Services Aktivierung der Report Print Attributes Reportausgabeformat Reportlayouts Papierformat, Seitenlayout, Hintergrundfarbe, Überschriften etc. Reportspalten Spaltenbreite etc.
Deklarative PDF Reporting Services Selektion des Report Document Formats
Forms Umfangreiche Features Built-in Widgets Pop-Up Kalender Wertelisten Validierung auf Feldebene Session-State Management Verwendung von Authorization Schemes Vielfältige Form-Typen Tabellarische Form Master-Detail Form mit Bericht Form basierend auf Web Services SQL-Abfrage (Fetch Row)... Release 3.0 New Feature Demos: Item Types
Flash Charts Bisher: HTML und SVG Neu - Flash Charts (Adobe): Rendering im browser-basierten Flash Player 18 neue Chart Typen: Column Charts - 2D or 3D, stacked or clustered, horizontal or vertical, Pie Charts - 2D, 3D, or Doughnut, Line Charts, Range Charts, Dial Charts, Scatter Charts, Candlestick Charts XML-Templates, Asynchrone Updates, Caching Migration existierender SVG Charts Release 3.0 New Feature Demos: Charting
Security Build-in Authentication Modules LDAP Single Sign-On Open Door Credentials Oracle Application Express Account Credentials Database Account Credentials No Authentication (using DAD) Zentral definierte Authorization Rules Berechtigung für: Anwendung, Seite, Seiten-Komponenten, Regionen, Schaltflächen, Elemente, Zeilen in Berichten Session State Protection Integration mit Datenbank Security Features Fine Grained Access Control (Row Level Security ) VPD! Transparent Data Encryption
Application Express 3.1 Release 3.1 Optional Runtime-Only installation Small footprint least privileged installation Supported and Documented JavaScript Libraries Lightweight plumbing to integrate with other web libraries or to build custom AJAX functionality PL/SQL API to manage Application Express Enhanced integration with Oracle SQL Developer for MS Access to Application Express migration Bug fixes and minor improvements Improved SQL Editor Improved data loading (no size limits)
Oracle Application Express Einführung Architektur Weshalb Application Express Beispiele / Referenzen Apex neue Features Ausblick 11g / Apex4.0
Last but not least: APEX... by default APEX standardmäßig vorhanden Keine zusätzliche Installation mehr <SYSAUX> Aktuellste Version 3.0.1 HTTP via "Embedded Gateway" XML DB Protokollserver DBMS_EPG ist (endlich) supported Zwei Konfigurationsschritte: $ORACLE_HOME/apex/apxconf.sql ALTER USER anonymous ACCOUNT UNLOCK; <port, pwd>
Weitere Informationen Upgrade Community:http://www.oracle.com/global/de/UpgradeCommunity/index.html
Application Express 4.0 Demonstration of Dynamic Query Region Einen kleinen Preview auch über: http://carlback.blogspot.com/ -> APEX 4.0 Preview (Video-download)
Application Express 4.0 Filters are specific to datatype, for example dates
APEX Community Page International http://www.oracle.com/technology/products/database/application_express/index.html http://apex.oracle.com
APEX Community Page Deutschland http://www.oracle.com/global/de/community/index.html
WORKSHOP CD