Sie sind auf Seite 1von 6

Oracle Reports Developer 10g: Move to the Web

Student Guide

D17366GC10 Edition 1.0 November 2005 D22487

Author Ellen Gravina Technical Contributors and Reviewers Alan Paulson Charles Bryant Gayathri Rajagopal Kathryn Cunningham Laurent Dereac Maha Yasir-Shihadih Mark Fleming Navneet Singh Philipp Weckerle Ratheesh.Pai Raza Siddiqui Sarah Spicer Smitha Keshav Ted Witiuk Vince Casarez Editors Elizabeth Treacy Richard Wallis Publisher Nita Brozowski

Copyright 2005, Oracle. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Governments rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Contents

Introduction Objectives I-2 Oracle Reports Curriculum Map I-3 Course Objectives I-4 Course Content I-5 Summary I-7 1 Why Move Reports Applications to the Web? Objectives 1-2 Why Move to the Web? 1-3 Reducing Costs 1-5 Improving Productivity 1-6 Increasing Availability 1-7 Maintaining Support 1-8 Publishing Enterprise Data 1-9 Leveraging a Standards-Based Architecture 1-10 Utilizing New Features 1-12 Oracle 10g Products 1-14 Leveraging Oracle Application Server 10g for Reports 1-15 Oracle Application Server 10g Components 1-17 OracleAS Reports Services 1-18 Oracle Developer Suite 10g 1-19 Summary 1-22 Practice 1: Overview 1-23 Migrating Reports ApplicationsObjectives Objectives 2-2 Deprecated and Obsolete Functionality 2-3 Migrating Reports Applications 2-5 Reports Builder User Interface Changes 2-6 Formatting with the SRW Built-in Package 2-7 Replacing OLE2 Objects 2-9 Migrating Charts 2-10 Replacing Buttons 2-12 Referencing System Parameters 2-13 Replacing User Exits 2-15 Reports Executables 2-17 Replacing Command Line Keyword Functionality 2-19 Summary 2-21 Practice 2: Overview 2-22 Developing Reports for the Web Objectives 3-2 Web Publishing 3-3 Paper Publishing 3-4 High-Quality Web Publishing 3-5 What Is JSP Technology? 3-7
iii

JSP Advantages 3-8 Simple HTML: Example 3-10 Simple JSP: Example 3-11 Building a Web Report 3-12 Using the Report Wizard 3-13 Report Editor: Web Source View 3-14 JSP Tags 3-16 Web Source: Example 3-18 Generating Output 3-20 Adding Dynamic Content 3-21 Creating a Report Block 3-23 Invoking the Report Block Wizard 3-25 Examining the Web Source Code 3-27 rw:foreach Tag 3-29 rw:field Tag 3-30 Practice 3-1: Overview 3-31 Customizing Oracle Reports JSPs 3-32 Customizing Oracle Reports JSPs Using Style Sheets 3-33 Customizing Oracle Reports JSPs Using HTML Tags and Attributes 3-35 Customizing Reports JSPs Using Reports Custom Tags 3-36 Customizing Reports JSPs Using Oracle Custom Tags 3-39 What Is a Template? 3-40 Creating a Web Layout Template 3-41 Creating a Template Definition File 3-42 Creating the HTML Page 3-43 Updating the Web Layout Template Description File 3-45 Testing the Web Layout Template 3-47 Passing Parameters to a Web Report 3-48 Creating the Parameter Form 3-50 Modifying the HTML Parameter Form in Reports Builder 3-52 Setting Up the Target Report 3-54 Testing the Parameter Form 3-55 Summary 3-57 Practice 3-2: Overview 3-58 4 Using New Features in Oracle Reports: Development Objectives 4-2 Accessing Data 4-3 Pluggable Data Sources 4-5 Out-of-the-Box Options 4-6 Using XML as a Data Source 4-7 Example: XML Data Stream 4-9 XML Report 4-11

iv

Report Bursting 4-12 Bursting on a Repeating Group 4-13 Adding a Table of Contents to a Report 4-15 Another Option for Creating a Table of Contents 4-16 Using PDF in Oracle Reports 4-18 Setting PDF Document Taxonomy Properties 4-20 Making PDF Documents Accessible to the Disabled Community 4-21 Inline Formatting Using HTML Tags 4-23 Specifying Inline HTML Tags 4-25 Using External Style Sheets 4-26 Embedding a Graph in a Report 4-28 Adding a Graph to the Web Layout 4-29 Selecting the Graph Type and Data 4-30 Adding Options to the Graph 4-31 Customizing Web Graphs 4-33 rw:graph Tag 4-34 Customizing Graphs Using the Graph.xml File 4-36 Using Graph Hyperlinks 4-38 Creating a Reports JSP in JDeveloper 4-40 Running a Reports JSP in Jdeveloper 4-41 Java Importer 4-42 Importing a Java Class 4-43 Summary 4-45 Practice 4: Overview 4-47 5 Deploying Reports Using OracleAS Reports Services Objectives 5-2 Running Reports Using OracleAS Reports Services 5-3 Oracle Application Server Components 5-5 Running the Web Layout: JSP Run-Time Architecture 5-7 Running the Paper Layout: Servlet Run-Time Architecture 5-8 Report Request Methods 5-9 Deploying a Report 5-11 Deploying a Report with a Paper Layout 5-12 Running a Paper Report 5-13 Deploying a Report with a Web Layout 5-14 Running a Web Report 5-15 Using a Key Map File 5-16 Extending Oracle Reports Functionality Using Plug-ins 5-18 Out-of-the-Box Implementations in Oracle Reports 5-20 Dynamic Environment Switching 5-21 Removing the DISPLAY and Printer Dependencies on UNIX 5-23 Configuring Reports Servers 5-24 Managing and Monitoring OracleAS Reports Services 5-25

Securing OracleAS Reports Services 5-27 Configuring Single Sign-On for Oracle Reports 5-29 Handling Report Requests with OracleAS Single Sign-On 5-31 Summary 5-33 Practice 5: Overview 5-35 6 Using New Features in Oracle Reports: Deployment Objectives 6-2 E-mail Enhancements 6-3 Image Format Support 6-5 Using the OUTPUTIMAGEFORMAT Parameter 6-7 Generating Spreadsheet Output 6-8 Generating MS Excel Output 6-10 Compressing PDF Output 6-11 Enhanced PDF Output 6-12 Embedding Fonts 6-14 Subsetting Fonts 6-15 Event-Based Reporting 6-17 Invoking a Report from a Database Event 6-19 OracleAS Wireless Integration 6-21 Integrating Oracle Reports with OracleAS Portal 6-22 Deploying Reports with OracleAS Portal 6-24 Creating Reports Users and Groups 6-25 Registering Oracle Reports Components 6-27 Registering a Reports Server in OracleAS Portal 6-28 Registering a Report in OracleAS Portal 6-30 Publishing a Report as a Portlet 6-32 Adding a Report as an Item on a Page 6-34 Running an Oracle Reports Item 6-35 Summary 6-36 Practice 6: Overview 6-37

A Practices

Das könnte Ihnen auch gefallen