47
Oracle XML Publisher – Tipps und Tricks Michael Klose Consultant [email protected] DOAG Mannheim 16. November 2006

Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

Embed Size (px)

Citation preview

Page 1: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

Oracle XML Publisher – Tipps und Tricks

Michael [email protected]

DOAGMannheim16. November 2006

Page 2: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 2 © 2006

Agenda

Daten sind immer im Spiel.

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Distribution

� Administration

� Lizenzierung

Page 3: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 3 © 2006

XMLP – Konzept und Architektur

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Verteilung

� Administration

� Lizenzierung

Das Mass unserer Dinge ist die Höhe Ihrer Ansprüche.

Page 4: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 4 © 2006

Konzept & Architektur – Marktpositionierung

� Oracle XML Publisher ist eine Template basierende Publishing Lösung der Oracle E-Business Suite� Als Standalone Produkt verfügbar :

� XMLP Enterprise edition

� Ersatz für Oracle Reports ?� “Oracle XML Publisher is the new reporting element within Oracle

Fusion Middleware that is the long-term replacement for Oracle Reports“

� Java basierendes Tool welches in Java/J2EE Entwicklungenintegriert werden kann

� XSL-FO basierende Technologie welche es Entwicklernermöglicht auf verschiedenen Datenbanken und Datenquellen Reports zu entwickeln

Page 5: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 5 © 2006

Konzept & Architektur – Fusion Middleware

� Das Projekt Fusion vereinigt die Produktlinien Oracle, PeopleSoft und JD Edwards� Oracle e-Business Suite: Business Suite mit fertigen Applikationen wie HR,

CRM, Enterprise Planning & Budgeting, etc…

� JD Edwards EnterpriseOne : Komplette Suite modularer, vorintegrierter, industriespezifischer Business Applikationen

� PeopleSoft : Businessorientierte Software� Education institutions , Customer Relationship Management , Supplier

Relationship Management, etc…

� XML Publisher ist die Reporting Engine für� Oracle eBusiness Suite � People Soft� JD Edwards

Page 6: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 6 © 2006

Konzept & Architektur – Fusion Middleware

XMLP für Peoplesoft

XMLP Enterprise

XMLP für eBusiness Suite

XMLP für J.D.Edwards

Page 7: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 7 © 2006

Konzept & Architektur – XMLP Report Ausgabe

� XML Publischer führt zur Laufzeit die Report Templates mit den Datenzusammen und generiert verschiedene Ausgaben� Grafiken, Barcode, Schriftarten, Bilder, Header, Footer,…

� “Kundenfertige” PDF Dokumente� Finanzberichte� Marketing Material� Rechnungen, Bestellungen

� Aufwendige Formatierungen

� HTML für Web Zugriff

� Excel Ausgabe

� “Ausgefüllte” PDF Dokumente von Drittanbietern

� Text Dateien zum Austausch mit Geschäftspartnern für EDI und EFT

Page 8: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 8 © 2006

Konzept & Architektur – Generierung

� Trennung von Daten, Layout und Übersetzung

Report Ausgabe

Daten

Layout

ÜbersetzungXML Publisher

Page 9: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 9 © 2006

Konzept & Architektur – XMLP Module

� Data Handler : Jede XML generierende Engine

� Templates : Endanwendertool zur Layoutgestaltung

Page 10: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 10 © 2006

Web Services

Templates

XML

EDI

EFT

Email

Printer

Fax

WebDAV

e-Commerce

Ausgabe Ziele

Oracle, SQL Server

PeopleSoft,SAP, Siebel

Java, C++,Pearl, etc

XML Publisher

Datenquelle

•Word•Excel•Acrobat

Konzept & Architektur – Integration

XSL

Layout Tools

PDF

RTF

HTML

Excel

•XML Spy•JDeveloper•Scriptura

Page 11: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 11 © 2006

Konzept & Architektur – XMLP Features

� Oracle XMLP 5.6.2 Enterprise beinhaltet

� Report Repository mit Ordnerstruktur� Online Viewer� Scheduler� Distribution von Scheduled Reports per EMail/Fax/Print� Online Report Builder unterstützt SQL Abfragen, WebServices

und XML über HTTP� Analyzer – Pivot Tabellen Analysen� Excel Analyzer – Werkzeug um von Excel aus einen Report

zu öffnen und zu analysieren

Page 12: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 12 © 2006

Konzept & Architektur – Performance

� Oracle White Paper May 2006 :� The XML Publisher team is convinced that performance is a factor

that makes or breaks XML Publisher

� Many XSL based solutions are inefficient and memory hungry. The XML Publisher team worked closely with the performance team to create the fastest and most efficient XSL-FO implementation to our knowledge

� The Oracle Financials team tested XML Publisher with 6 GByte of XML data to generate a 50,000 page PDF document. XML Publisher was able to generate the document on a single process PC in lessthan 50 minutes

� One of our customers is rendering more than 20,000 multi-page documents per hour on a 4 processor server based on pre-extracted XML. In stress tests XML Publisher could render more than 10,000 documents an hour on a single CPU.

Page 13: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 13 © 2006

XMLP – Installation und Aufbau

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Verteilung

� Administration

� Lizenzierung

Umfassende Beratung als Steilpass für Ihre Performance.

Page 14: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 14 © 2006

Installation & Aufbau – Installationsüberblick

� Client installation (XMLP_Desktop � setup.exe)� Template Builder für Word� Template Viewer

� Server� Schnellinstallation (XMLP_Server � setup.exe)

� Eigener OC4j 10.1.3 Container, SUN JDK 1.4.2_06 muss installiert sein� Automatisch erster freier Port zwischen 15101-15110� Setupinformation unter <Install-Home>/xmlpserver Datei setupinfo.txt

� Manuelle Installation� Installierbar auf OC4J, IAS, BEA Weblogic und Apache Tomcat� Zeichensatzverzeichnis ins Java Runtime Environment kopieren� xmlpserver.ear Datei hochladen

� Database Configuration� Benötigt für Job Scheduling� XMLP Benutzer anlegen und oracle_tables.sql Script ausführen

Page 15: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 15 © 2006

Installation & Aufbau – Einstiegsseite / Demos

� Demo Reports verwenden Schemas Scott , OE and HR

Page 16: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 16 © 2006

Installation & Aufbau – Server Architektur

� J2EE Anwendung

KonfigurationsDateien

Report Repository mit Ordnerstruktur

Page 17: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 17 © 2006

Installation und Aufbau – XDO

� Die in der XMLP Web Applikation dargestellten Reports werdenin der Arbeitsumgebung mit den zugehörigen Templates und XLIFF Dateien gespeichert

� XML Publisher Report Definitionen im XML-Format mit derDateinamenendung “.xdo”� Datei kann manuell oder mit dem GUI geändert werden

� XDO Datei besteht aus� Data Sets� Report Parametern� List of Values� Layouts

Page 18: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 18 © 2006

Installation und Aufbau – XDO

Aus diesen Informationenwird die .xdo Datei erstellt

Page 19: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 19 © 2006

Installation und Aufbau – Security

� Einfache Benutzererstellung

� Benutzern können Rollen zugeordnet werden

� Zugriffsrechte auf Ordner werden Rollen oder Benutzernzugeordnet

� ACHTUNG: Zugriff wird auf Ordnerbasis und nicht auf Reportbasis gewährt

� Alle Reports mit den gleichen Zugriffsberechtigungen in einenOrdner oder Unterordner um granularen Datenzugriff zu erzeugen

� XML Publisher kann in LDAP Server integriert werden

Page 20: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 20 © 2006

XMLP – Reporting und Analyse

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Verteilung

� Administration

� Lizenzierung

Entscheidungenwirken. Spring.

Page 21: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 21 © 2006

Reporting & Analyse – Reporterstellung

� Datenquelle anlegen (Administrator)

Page 22: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 22 © 2006

Reporting & Analyse – Reporterstellung

� Neuen Report anlegen, Data Source auswählen

Page 23: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 23 © 2006

Reporting & Analyse – Reporterstellung

� Data Model – Neue Abfrage erstellen (Manuell SQL/Query Builder)

Page 24: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 24 © 2006

Reporting & Analyse –Analyzer

� Analyzer Schaltfläche auf jeder Report Seite

� Pivottabellen/Kreuztabellen Interface� Drag-and-Drop der Datenelemente� Slice & Dice

� Excel Analyzer Schaltfläche lädt den Report in ein Excel Worksheet mit der Formatierung des Report Templates

Page 25: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 25 © 2006

Reporting & Analyse – Analyzer

Page 26: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 26 © 2006

Reporting & Analyse – Excel Analyzer

Page 27: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 27 © 2006

Reporting & Analyse – XML View -> Export

Page 28: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 28 © 2006

Reporting & Analyse – RTF Template

Page 29: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 29 © 2006

Reporting & Analyse – Grafiken

� Rechtsklick “Grafik formatieren” -> Reiter “Web”

� XML für Grafiken ->manuell erstellen

� Alternative:� Oracle Reports verwenden� Query aus XMLP kopieren� Grafik in Reports auswählen� Grafik konfigurieren� XML kopieren� XML anpassen� In “Web” Tab einfügen

Page 30: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 30 © 2006

Reporting & Analyse – Grafiken

� Grafik mit zwei Y-Achsen und gestapelten Balken

Page 31: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 31 © 2006

XMLP – Sprachunterstützung

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Verteilung

� Administration

� Lizenzierung

Wir liefern Ihnen die Plattform für das perfekte Zusammenspiel.

Page 32: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 32 © 2006

Sprachunterstützung – XLIFF

� XLIFF: XML Localization Interchange File Format. � Standardformat von Lokalisierungs Providern

Page 33: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 33 © 2006

Sprachunterstützung – XLIFF Struktur

� XMLP generierte XLIFF File Struktur<xliff><file><header><body><trans-unit><source><target><note>

Page 34: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 34 © 2006

Sprachunterstützung – Datum und Währung

� 185 Sprachen and 244 Gebiete (ISO Standards)

� Beispiel: Sprache French – France und English - US

Page 35: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 35 © 2006

XMLP – Scheduling und Distribution

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Distribution

� Administration

� Lizenzierung

Erfahrung und Service-kompetenz als Grundlage Ihres Erfolges.

Page 36: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 36 © 2006

Scheduling & Distribution – Quartz Scheduler

� XML Publisher basiert auf dem OpenSymphony Quartz Scheduler� Quartz ist ein komplett Unterstütztes Open Source Scheduling System

welches in jede J2EE oder J2SE Applikation integriert oder parallel benutzt werden kann

� Scheduled Reports und die Jobhistorie werden in der Oracle Datenbank gespeichert (XMLP Schema)

� Verschiedene Distributionskanäle� Email, FTP, WebDAV� Drucker, Fax� AS2 (Standardprotokoll Electronic Data Interchange-Internet)

� Kann von jedem Report aus verwendet werden

Page 37: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 37 © 2006

Scheduling & Distribution – Scheduler

Page 38: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 38 © 2006

XMLP – Administration

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Distribution

� Administration

� Lizenzierung

Sicherheit ist, wenn man sich keine Gedanken mehr darüber machen muss.

Page 39: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 39 © 2006

Administration – Komponenten

� Datenquellen� JDBC Verbindungen� JNDI Verbindungen

� Security Einstellungen� Benutzer� Rollen und Rechte

� Distributionskanäle� Konfiguration� Aktivierung

� Systemwartung� Ordner Metadaten aktualisieren

Page 40: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 40 © 2006

Administration – Benutzerverwaltung

� Benutzern Rollen zuweisen

Page 41: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 41 © 2006

Administration – Rollenverwaltung

� Ordner für Rollen freigeben

Page 42: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 42 © 2006

Administration – Distributionskanäle

� EMailserver einrichten

Page 43: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 43 © 2006

XMLP – Lizenzierung

� Konzept und Architektur

� Installation und Aufbau

� Reporting und Analyse

� Sprachunterstützung

� Scheduling und Distribution

� Administration

� Lizenzierung

Wissen vermitteln ist erst der Anfang. Wissen umsetzen das Entscheidende.

Page 44: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 44 © 2006

XMLP Lizenzierung *

� XMLP Standalone Lizenz

Named User: Nicht möglichProzessor: € 31.400,-Mitarbeiter: € 31,40

� Lizenzierung mit Oracle Application Server EE

Named User (10pP): € 471,-Prozessor: € 23.550,-

+ XML Publisher Option

Named User: € 471,-Prozessor: € 23.550,-Mitarbeiter: € 23,55

* Unverbindliche Listenpreise Oracle November 2006

Page 45: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 45 © 2006

XMLP Lizenzierung – Fallbeispiele (1)*

� Annahmen: � XMLP Server 2 CPU� Unternehmen mit 1500 Mitarbeitern� 20 Anwender für XMLP

* Unverbindliche Listenpreise Oracle November 2006

� Standalone Lizenzierung:� Mitarbeitervariante: 1500 Mitarbeiter * 31,40 € = € 47.100

� Prozessorvariante: 2 CPU * 31.400 € = € 62.800

� Oracle Application Server + XML Publisher Option:� Named User OAS: 20 * 471 € = € 9.420� Named User XMLP Option: 20 * 471 € = € 9.420

Gesamt: € 18.840

Page 46: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

XML Publisher 46 © 2006

XMLP Lizenzierung – Fallbeispiele (2)*

� Annahmen: � XMLP Server 2 CPU� Unternehmen mit 500 Mitarbeitern� 150 Anwender für XMLP

* Unverbindliche Listenpreise Oracle November 2006

� Standalone Lizenzierung:� Mitarbeitervariante: 500 Mitarbeiter * 31,40 € = € 15.700

� Prozessorvariante: 2 CPU * 31.400 € = € 62.800

� Oracle Application Server + XML Publisher Option:� Named User OAS: 2 CPU * 23.550 € = € 47.100� Named User XMLP Option: 500 Mitarbeiter * 23,55 € = € 11.775

Gesamt: € 58.875

Page 47: Oracle XML Publisher – Tipps und Tricks · Konzept & Architektur – Performance Oracle White Paper May 2006 : The XML Publisher team is convinced that performance is a factor that

Vielen Dank!

?www.trivadis.com