D17366GC10_sg oracle

download D17366GC10_sg oracle

of 284

description

D17366GC10_sg oracle

Transcript of D17366GC10_sg oracle

  • Oracle Reports Developer 10g: Move to the Web

    Student Guide

    D17366GC10

    Edition 1.0

    November 2005

    D22487

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • 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 RIGHTSThe 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.

    AuthorEllen Gravina

    Technical Contributors and ReviewersAlan PaulsonCharles BryantGayathri RajagopalKathryn CunninghamLaurent DereacMaha Yasir-ShihadihMark FlemingNavneet SinghPhilipp WeckerleRatheesh.PaiRaza SiddiquiSarah SpicerSmitha KeshavTed WitiukVince Casarez

    EditorsElizabeth TreacyRichard Wallis

    PublisherNita Brozowski

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Introduction Objectives I-2Oracle Reports Curriculum Map I-3Course Objectives I-4Course Content I-5Summary I-7

    1 Why Move Reports Applications to the Web?Objectives 1-2Why Move to the Web? 1-3Reducing Costs 1-5Improving Productivity 1-6Increasing Availability 1-7Maintaining Support 1-8Publishing Enterprise Data 1-9Leveraging a Standards-Based Architecture 1-10Utilizing New Features 1-12Oracle 10g Products 1-14Leveraging Oracle Application Server 10g for Reports 1-15Oracle Application Server 10g Components 1-17OracleAS Reports Services 1-18Oracle Developer Suite 10g 1-19Summary 1-22Practice 1: Overview 1-23

    2 Migrating Reports ApplicationsObjectivesObjectives 2-2Deprecated and Obsolete Functionality 2-3Migrating Reports Applications 2-5Reports Builder User Interface Changes 2-6Formatting with the SRW Built-in Package 2-7Replacing OLE2 Objects 2-9Migrating Charts 2-10Replacing Buttons 2-12Referencing System Parameters 2-13Replacing User Exits 2-15Reports Executables 2-17Replacing Command Line Keyword Functionality 2-19Summary 2-21Practice 2: Overview 2-22

    3 Developing Reports for the WebObjectives 3-2Web Publishing 3-3Paper Publishing 3-4High-Quality Web Publishing 3-5What Is JSP Technology? 3-7

    Contents

    iii

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

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

    4 Using New Features in Oracle Reports: DevelopmentObjectives 4-2Accessing Data 4-3Pluggable Data Sources 4-5Out-of-the-Box Options 4-6Using XML as a Data Source 4-7Example: XML Data Stream 4-9XML Report 4-11

    iv

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Report Bursting 4-12Bursting on a Repeating Group 4-13Adding a Table of Contents to a Report 4-15Another Option for Creating a Table of Contents 4-16Using PDF in Oracle Reports 4-18Setting PDF Document Taxonomy Properties 4-20Making PDF Documents Accessible to the Disabled Community 4-21Inline Formatting Using HTML Tags 4-23Specifying Inline HTML Tags 4-25Using External Style Sheets 4-26Embedding a Graph in a Report 4-28Adding a Graph to the Web Layout 4-29Selecting the Graph Type and Data 4-30Adding Options to the Graph 4-31Customizing Web Graphs 4-33rw:graph Tag 4-34Customizing Graphs Using the Graph.xml File 4-36Using Graph Hyperlinks 4-38Creating a Reports JSP in JDeveloper 4-40Running a Reports JSP in Jdeveloper 4-41Java Importer 4-42Importing a Java Class 4-43Summary 4-45Practice 4: Overview 4-47

    5 Deploying Reports Using OracleAS Reports ServicesObjectives 5-2Running Reports Using OracleAS Reports Services 5-3Oracle Application Server Components 5-5Running the Web Layout: JSP Run-Time Architecture 5-7Running the Paper Layout: Servlet Run-Time Architecture 5-8Report Request Methods 5-9Deploying a Report 5-11Deploying a Report with a Paper Layout 5-12Running a Paper Report 5-13Deploying a Report with a Web Layout 5-14Running a Web Report 5-15Using a Key Map File 5-16Extending Oracle Reports Functionality Using Plug-ins 5-18Out-of-the-Box Implementations in Oracle Reports 5-20Dynamic Environment Switching 5-21Removing the DISPLAY and Printer Dependencies on UNIX 5-23Configuring Reports Servers 5-24Managing and Monitoring OracleAS Reports Services 5-25

    v

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Securing OracleAS Reports Services 5-27Configuring Single Sign-On for Oracle Reports 5-29Handling Report Requests with OracleAS Single Sign-On 5-31Summary 5-33Practice 5: Overview 5-35

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

    A Practices

    v

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Copyright 2005, Oracle. All rights reserved.

    Introduction

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web I-2

    Copyright 2005, Oracle. All rights reserved.

    Objectives

    After completing this lesson, you should be able to do the following: Describe how this course fits in the Oracle

    Reports curriculum Identify the course objectives Identify the course content and structure

    OverviewThis lesson introduces you to the Oracle Reports Developer 10g: Move to the Web course. Specifically, youll learn:

    How the course fits in the Oracle Reports curriculum The objectives that the course intends to meet The topics that it covers How the topics are structured over the duration of the course

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web I-3

    Copyright 2005, Oracle. All rights reserved.

    Oracle Reports Curriculum Map

    Experienced6i Reports Developer

    Developer(New to Reports)

    Oracle Reports Developer 10g:

    Move to the Web(D17366GC10) 2

    Oracle Reports Developer 10g:

    Build Reports(D17075GC10) 5

    Oracle Reports 10g

    Oracle By ExampleTutorials

    Web-based training

    Instructor-led training

    Oracle Application Server 10g:

    Admin I (D16508GC11)Admin II (D16509GC10)

    10

    Oracle Application Server 10g Release 2:

    New Features for Administrators

    (D17419GC10) 3

    Application ServerAdministrator

    Oracle Reports CurriculumThis course provides a way for you, an experienced Reports 6i application developer, to upgrade your skills and enable you to migrate your existing applications to the Web, take advantage of the Web environment and technologies, and enhance applications with new product features.To complement the Oracle Reports 10g instructor-led offerings, the Oracle by Example (OBE) series provides hands-on, step-by-step instructions showing you how to implement various technology solutions to business problems. OBEs are available free of charge from the Oracle Technology Network (http://www.oracle.com/technology/obe/oberpt904/index.html).

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web I-4

    Copyright 2005, Oracle. All rights reserved.

    Course Objectives

    After completing this course, you should be able to do the following: List the benefits of deploying Reports applications

    to the Web with Oracle Application Server 10g Migrate Reports 6i applications to Web

    deployment with Oracle Application Sever 10g Use Web technologies to develop Reports

    applications Utilize new product features for Reports

    Course DescriptionThis course introduces you to the benefits that you and your organization can achieve when you deploy Reports applications to the Web with Oracle Application Server 10g. You learn to migrate your applications to the Web and to adapt them to the Web environment. You also utilize new Web technologies and product features to enhance your Reports applications.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web I-5

    Copyright 2005, Oracle. All rights reserved.

    Course Content

    Day 1 Lesson 1: Why Move Reports Applications to the

    Web? Lesson 2: Migrating Reports Applications Lesson 3: Developing Reports for the Web

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web I-6

    Copyright 2005, Oracle. All rights reserved.

    Course Content

    Day 2 Lesson 4: Using New Features in Oracle Reports:

    Development Lesson 5: Deploying Reports Using OracleAS

    Reports Services Lesson 6: Using New Features in Oracle Reports:

    Deployment

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web I-7

    Copyright 2005, Oracle. All rights reserved.

    Summary

    In this lesson, you should have learned how to: Describe how this course fits in the Oracle

    Reports curriculum Identify the course objectives Identify the course content and structure

    SummaryIn this introductory lesson, you should have learned how the course Oracle Reports Developer 10g: Move to the Web fits with the other Oracle Reports curriculum offerings. You should also have learned about the course objectives, content, and structure.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Copyright 2005, Oracle. All rights reserved.

    Why Move Reports Applications to the Web?

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-2

    Copyright 2005, Oracle. All rights reserved.

    Objectives

    After completing this lesson, you should be able to do the following: List the benefits of migrating reports to the Web Explain the advantages of deploying Oracle

    Reports applications by using Oracle Application Server 10g

    Describe the components and functions of Oracle Application Server 10g

    OverviewYou are probably wondering why you should move your client/server reports applications to the Web. What can you accomplish on the Web that you couldn't do in the client/server environment?This lesson introduces you to the key benefits of migrating your Oracle Reports applications to the Web.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-3

    Copyright 2005, Oracle. All rights reserved.

    Why Move to the Web?

    Developing and deploying reports applications on the Web can benefit your enterprise by: Reducing costs Improving productivity Increasing availability Maintaining product support Publishing any data in any format to any

    destination Leveraging a standards-based architecture Utilizing new features

    Why Move to the Web?Reporting is the delivery of information to information consumers. These consumers must often further investigate that information. Historically, different tools performed different tasks. However, there was a growing need to integrate data consolidation, data analysis, and enterprise reporting tools to provide a seamless environment that allowed users to move from the role of information consumer to information investigator. The combination of providing information and enabling additional investigation of that information is referred to as business intelligence (BI). In an increasingly competitive world, enterprises are constantly in need of BI that empowers the decision makers in an organization to act on the information and thus impart that extra competitive edge to the organizations products and services. Oracles BI solution provides users with the capability to easily integrate diverse data sources, convert this data into information, share this information with authorized users, and exploit the information to learn more about the business and its customers. Oracle Reports is the enterprise reporting component of Oracles BI offering.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-4

    Why Move to the Web? (continued)Enterprise reporting grew out of a business need for better, faster, and more flexible delivery of individually tailored information to a very large number of users. No environment is better suited to fulfill this need than the Internet. Through Web reporting, companies can provide critical information to a large and geographically distributed user base in a timely manner. By moving your client/server report applications to the Web, your organization benefits by:

    Reducing costs Improving productivity Increasing accessibility Maintaining product support Publishing any data in any format to any destination Leveraging a standards-based architecture Utilizing new features

    This lesson provides you with a closer look at these benefits.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-5

    Copyright 2005, Oracle. All rights reserved.

    Reducing Costs

    Multiple products and vendors

    Multiple PCs

    Integrated product set

    Centrally managed server

    Reducing CostsOracle Reports applications are deployed on the Web with Oracle Application Server 10g: a single, integrated product that is designed to lower the total cost of ownership associated with developing, deploying, and managing applications. With Web deployment, you eliminate the costs associated with maintaining software on all the clients. You have to manage only the server.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-6

    Copyright 2005, Oracle. All rights reserved.

    Improving Productivity

    User 1

    User 4User 3

    User 2

    Developer

    New New

    NewNew

    New

    Improving ProductivityThe key to reducing development time is to take the element of intensive effort out of report development. Oracle Reports does not require that you write numerous lines of code or manually format complex layout structures. As a developer, you will continue to use the wizard-driven application development environment of Reports Builder, even for Web reports. Oracle Reports 10g takes advantage of JavaServer Pages (JSP) technology to deliver high-quality HTML pages for Web publishing. JSP technology separates the dynamic portion of your Web page from the static HTML. This enables Web page designers in your organization to create the visually appealing, static portion of the page by using their favorite Web-authoring tool. Page designers who have limited or no Java programming experience can modify the appearance of the JSP page without affecting the generation of its content. You, as the application developer, need to focus only on adding the dynamic data component to the page.You can develop a report once and deploy it to multiple destinations. You can select various output formats, including HTML, Hypertext Markup Language with a Cascading Style Sheet (HTMLCSS), Extensible Markup Language (XML), PDF, Postscript, and rich text format (RTF). You can share a single data model among all output formats. In addition, you can customize the appearance and content of your output at run time by applying XML customization files.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-7

    Copyright 2005, Oracle. All rights reserved.

    Increasing Availability

    Officeworkers

    Telecommuters

    Suppliers

    Customers

    Increasing AvailabilityAs soon as a new report application is deployed on the Web, it is instantly available to users who log in to the application. You can easily modify a Web-deployed application without affecting the accessibility to customers and vendors. For example, you can modify an order listing so that customers can view the status of their orders online. Because you need not install the modified application on every client, it is instantly accessible over the Web.With a Web application that is accessible anywhere, you can reach customers that you could never reach before, and you can enable internal users to connect to applications from home with only a browser. Using the capabilities of Oracle Application Server 10g, you can also make your report accessible through a Web portal or on a cell phone.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-8

    Copyright 2005, Oracle. All rights reserved.

    Maintaining Support

    Maintaining SupportOracle Reports has maintained its position as a premier enterprise-reporting tool by keeping pace with rapid shifts in technology. As rapidly as technology has shifted, Oracle Reports has moved from character-based, to graphical-based, to client/server, and now to multitier Web-based development and deployment. Oracle Reports 6i was the last version of Oracle Reports to support both a character-mode and a client/server GUI reports viewer. With Oracle9i Reports, users moved to a Java 2 Enterprise Edition (J2EE) Web-based multitier environment. Oracle Reports 10g (9.0.4) and Oracle Reports 10g Release 2 (10.1.2) have improved the performance and scalability of reports applications in the Web-based environment and have also provided a host of new features.If you continue to use client/server deployment, you must continue developing report applications using Oracle Reports 6i, whose support term is limited. It is recommended that you upgrade to Oracle Reports 10g Release 2, a component of Oracle Developer Suite 10g. This will assure you continued technical assistance, bug resolution, and access to updated patches. Visit Metalink (http://metalink.oracle.com) for the latest information on the desupport dates for Oracle6i Reports and Oracle9i Reports.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-9

    Copyright 2005, Oracle. All rights reserved.

    Publishing Enterprise Data

    Publish from any source, in any format, to any destination with high fidelity.

    TEXT

    OLAP

    JDBC

    XML

    Publishing Enterprise DataIn a modern IT environment, data is produced in different places and in different formats. For example, in a manufacturing organization, each geographically distributed warehouse may store inventory data in a relational database, whereas the headquarters of the organization may prefer to store basic data, such as the average inventory per warehouse, in XML format. You must collect data from these different sources and present it as consolidated information.Oracle Reports enables you to publish data from any source in any format with high fidelity.It supports SQL, PL/SQL (ref-cursor), XML, JDBC, Oracle OLAP, and text files (both delimited and fixed format). You can combine queries from different data sources in a single report and link them to produce master-detail relationships. In addition, you can use Java-based APIs to create access mechanisms for data common to your business and integrate them into Oracle Reports, enabling you to use this data directly in your report. Oracle Reports gives you flexibility in the presentation of your data. You can create high-fidelity paper-oriented reports suitable for printing, as well as create true Web reports in which the data is part of a Web page that is designed for your corporate Web site. You can publish your data to any destination, including a browser, file, e-mail, printer, OracleAS Portal, FTP server, and Web-based Distributed Authoring and Versioning (WebDAV).

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-10

    Copyright 2005, Oracle. All rights reserved.

    Leveraging a Standards-Based Architecture

    CORBA

    JSPs

    IIOP

    Servlets

    Java APIs

    PL/SQL APIs

    XML

    J2EE

    Leveraging a Standards-Based ArchitectureUtilizing a Standards-Based, Modular ArchitectureOracle Reports uses an open, standards-based, modular architecture.

    Oracle Reports uses a reporting paradigm of a JavaServer Pages (JSP)based Web source, which enables you to address all the needs of dynamic Web publishing. Based on the industry-standard JSP 1.2 technology, it allows you to inject dynamic report content into any surrounding structure. Using custom JSP tags, you can add programmatic elements in existing Web pages.

    Servlets are Java programs that run as part of a network service, such as a Web server, and respond to requests from clients. Servlets extend the functionality of a Web server by delivering dynamic content.

    Java 2 Platform, Enterprise Edition (J2EE) is a specification that defines the standard for developing component-based multitier enterprise applications for the Web. The J2EE platform provides many features, such as write once, run anywhere portability, JDBC APIs for database access, CORBA technology for interaction with existing enterprise resources, and a security model that protects data even in Internet applications. In addition, it provides full support for Enterprise JavaBeans (EJB) components, Java Servlets API, JavaServer Pages, and XML technology.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-11

    Leveraging a Standards-Based Architecture (continued)Utilizing a Standards-Based, Modular Architecture (continued)

    Common Object Request Broker Architecture (CORBA) is an industry-standard specification for application interoperability defined by the Object Management Group (OMG). In a distributed computing network using the CORBA architecture, heterogeneous systems can communicate with one another independent of platform, operating system, programming language, network, and protocol. The Reports Server is implemented as a CORBA object; clients, such as rwservlet and rwclient, communicate with the server through CORBA calls.

    Internet Inter-ORB Protocol (IIOP) is an industry-standard protocol developed by OMG to implement CORBA solutions over the Web. IIOP enables browsers and servers to exchange integers, arrays, and more complex objects, unlike HTTP, which supports only transmission of text.

    The Oracle Reports Java APIs help you to define your own plug-ins for data sources, output destinations, security infrastructure, cache management, engines, and so on.

    The OracleAS Reports Services Event-Driven Publishing API is a PL/SQL package that enables you to run a report based on the occurrence of an event in the database.

    Oracle Reports provides extensive support for Extensible Markup Language (XML). You can specify customizations to reports with an XML file, use XML as a data source, describe an entire report definition in XML, and deliver output in XML format.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-12

    Copyright 2005, Oracle. All rights reserved.

    Utilizing New Features

    Design timeenhancements

    Integration

    Data source

    Paper layout

    JSP Web source Developers

    Utilizing New FeaturesThere are many new features in Oracle Reports that were not available in Oracle Reports6i. These include:

    Design-time features, such as:- The ability to add dynamic report content to Web pages- A built-in JSP engine for previewing Web reports- Instant preview for paper and Web layouts

    Design-time integration with:- Java Importer for generating wrapper PL/SQL packages for Java classes- Oracle JDeveloper for developing and debugging Reports JSPs - Oracle Software Configuration Manager (SCM) for source control

    A variety of new data sources, as well as an open, Java-based API for defining your own pluggable data source

    Paper layout enhancements A JSP-based Web source that shares the data model with paper layouts Java-based graphs

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-13

    Copyright 2005, Oracle. All rights reserved.

    Utilizing New Features

    Distribution

    Server

    APIs

    Security

    Developers

    Utilizing New Features (continued)

    An expanded list of destinations for report distribution, including SMTP-based e-mail, OracleAS Portal, FTP, and WebDAV, as well as an open, Java-based API for defining your own destination

    Server infrastructure enhancements, such as:- A Java server available in stand-alone and in-process modes- Java APIs that enables you to extend built-in capabilities for data sources, engines,

    notifications, report destinations, security models, and cache management algorithms- Ability to access OracleAS Reports Services by using a Web service- Oracle Workflow integration- Centralized management with Oracle Enterprise Manager (OEM) Application Server

    Control PL/SQL Event-Driven Publishing API Security enhancements, such as single sign-on for application, resource, and data source

    authenticationNote: This lesson provides only an overview of the new features. These will be covered in more detail later in the course.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-14

    Copyright 2005, Oracle. All rights reserved.

    Oracle 10g Products

    ReportsServices

    ReportsDeveloper

    Oracle 10g ProductsOracle10g provides the complete Internet infrastructure that makes it easy for companies interested in e-commerce to create and deploy scalable, Web-based applications. Oracle markets the following three products to help you achieve this:Oracle Database 10g: Manages all of your information, both structured (such as operational data from your applications) and unstructured (such as documents, XML, and images). Oracle tools, such as Oracle Reports, can automatically reuse the database structure and its integrity constraints, which reduces the amount of manual coding.Oracle Application Server 10g: Runs all of your applications, including Java, wireless, portals, and business intelligence. Using Oracle Application Server, you deploy and manage all applications developed with Oracle Developer Suite 10g. The Oracle Application Server contains Oracle Reports Services, which you use to deploy your reports applications.Oracle Developer Suite 10g: Enables you to quickly and easily build scalable, secure, and reliable e-business applications. Oracle Developer Suite 10g provides a complete and highly productive development environment for building applications. Oracle Reports Developer 10g is a component of Oracle Developer Suite 10g.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-15

    Copyright 2005, Oracle. All rights reserved.

    Leveraging Oracle Application Server 10gfor Reports

    Leveraging Oracle Application Server 10g ArchitectureOracle Application Server 10g provides all the middleware services you need to deploy and manage Oracle Reports applications. Its layered architecture includes:

    Communication Services: These services handle incoming requests received by Oracle Application Server 10g. Some of these requests are processed by the Oracle HTTP Serverand some requests are routed to other areas of Oracle Application Server 10g for processing.

    Application Runtime Services: A J2EE container provides a common run-time environment for applications developed as JSPs, servlets, Enterprise JavaBeans (EJB), and Web Services.

    System Services: Oracle Application Server 10g includes a common set of run-time services that are necessary for J2EE applications and Web services, such as request dispatch and scheduling, resource management, resource pooling, clustering, fault monitoring, transaction management, and messaging.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-16

    Leveraging Oracle Application Server 10g Architecture (continued) Management Services: These services provide a comprehensive management framework

    for your entire Oracle environment and network security. These services monitor the status, performance, and faults of the system (as well as resource consumption and usage), manage a single instance or cluster of instances, centrally administer security for users and applications, and provide a comprehensive directory service framework to manage users.

    Connectivity Services: These services provide connectivity to a variety of systems. Solutions: This comprehensive set of solutions is built on the infrastructure described

    above and includes enterprise portals, enterprise integration, business intelligence, wireless, and Internet service provider (ISP) solutions.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-17

    Copyright 2005, Oracle. All rights reserved.

    Oracle Application Server 10gComponents

    Oracle Application Server 10g ComponentsWith the components of Oracle Application Server 10g, you can:

    Develop and deploy all of your dynamic Web sites and applications (J2EE and Internet Applications)

    Create personalized portals to access all of your content and applications (Portal) Enable wireless access to portals (Wireless) Cache data and pages to accelerate the performance of any Web site (Caching) Extract business intelligence from site and application usage, and use it to personalize

    applications (Business Intelligence) Integrate users, applications, and businesses (E-Business Integration) Manage and secure your entire Web infrastructure (Management and Security)

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-18

    Copyright 2005, Oracle. All rights reserved.

    OracleAS Reports Services

    A component of OracleApplication Server that deploys Reports applications in Web and non-Web environments

    Oracle Application ServerReports Services

    OracleAS Reports ServicesOracleAS Reports Services is the reports publishing component of Oracle Application Server. It is an enterprise reporting service for producing high-quality production reports that dynamically retrieve, format, and distribute any data, in any format, anywhere. You can use OracleAS Reports Services to publish in both Web-based and non-Web-based environments.In the Web environment, the OracleAS Reports Services architecture can consist of four tiers:

    The client tier that contains the Web browser The Web server tier The OracleAS Reports Services tier The data tier (databases and pluggable data sources)

    Note: When referring to a multitier architecture, the term tier refers to the logical location of the components that the OracleAS Reports Services architecture comprises. In a typical deployment environment, the Web server tier and the OracleAS Reports Services tier are often deployed on the same machine.You learn about the components of Reports Services later in the course.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-19

    Copyright 2005, Oracle. All rights reserved.

    Oracle Developer Suite 10g

    Application Development

    Oracle Developer Suite 10gThe Oracle Developer Suite offers a complete set of integrated development tools, enabling you to easily and quickly create Internet applications for personalized Web portals and hosted software services. Oracle Developer Suite 10g combines leading Oracle application development and business intelligence tools into a single integrated product. Built on Internet standards such as Java and XML, Oracle Developer Suite provides a complete development environment.The components of Oracle Developer Suite 10g include Oracle Designer, Oracle Forms Developer, Oracle JDeveloper, Oracle Software Configuration Manager, Oracle Discoverer, Oracle Reports Developer, Oracle Warehouse Builder, and Oracle Business Intelligence Beans.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-20

    Oracle Developer Suite 10g (continued)For application development, Oracle Developer Suite 10g provides capabilities in:

    Modeling: Oracle Designer 10g delivers dramatic increases in productivity for database application developers. Oracle Designer provides a complete toolset to model, design, generate, and capture the enterprise application requirements.

    Rapid application development (RAD): RAD capabilities in Oracle Developer Suite feature integrated builders, reentrant wizards, live previewers, and property inspectors. Oracle Forms is Oracles long-established technology to design and build enterprise applications quickly and efficiently. Oracles commitment to this technology enables you to leverage your existing investment by easily upgrading and integrating existing Oracle Forms applications to take advantage of Web technologies and service-oriented architectures (SOA). Oracle JDeveloper is an integrated development environment with end-to-end support for modeling, developing, debugging, optimizing, and deploying Java applications and Web services. Oracle JDeveloper 10g introduces a new approach to J2EE development with features that enable visual and declarative development. The innovative Oracle Application Development Framework simplifies J2EE development. Oracle JDevelopers productivity with choice offers a choice of development approach, technology scope, and deployment platform.

    J2EE and Web services: Oracle Developer Suite supports the latest J2EE application programming interfaces (APIs), including Enterprise Java Beans (EJB), JavaServer Pages (JSP), and servlets. Web services support Simple Object Access Protocol (SOAP), Web Service Definition Language (WSDL), and Universal Description, Discovery, and Integration (UDDI).

    Team support: Oracle Software Configuration Management provides versioning, dependency management, and impact analysis for all objects and file types.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-21

    Copyright 2005, Oracle. All rights reserved.

    Oracle Developer Suite 10g

    Business Intelligence

    Oracle Developer Suite 10g (continued)For business intelligence, Oracle Developer Suite provides the capabilities for:

    Extract, transform, and load: Oracle Warehouse Builder provides an easy to use, graphical environment for rapidly designing, deploying, and managing business intelligence systems. It also provides an extensible framework for integrating a diverse set of data sources with BI tools.

    End-user query and analysis: With Oracle Discoverer, you can create, modify, and execute ad hoc queries and reports. More casual users can view and navigate through predefined reports and graphs. Discoverer provides a business view to hide the complexity of the underlying data structure. It enables you to focus on solving business problems and brings insight to your data.

    Enterprise reporting: Oracle Reports Developer enables you to access any data, publish it in any format, and send it to any destination.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-22

    Copyright 2005, Oracle. All rights reserved.

    Summary

    In this lesson, you should have learned how to: List the benefits of migrating reports to the Web Explain the advantages of deploying Oracle

    Reports applications by using Oracle Application Server 10g

    Describe the components and functions of Oracle Application Server 10g

    SummaryIn this lesson, you should have learned that:

    Migrating Oracle Reports applications to the Web enables you to realize improved productivity, cost reduction, and increased accessibility to your applications while enabling you to leverage the latest technologies and utilize all the new product features.

    Oracle Application Server10g provides the infrastructure to easily develop, deploy, and manage Internet applications and Web sites. Oracle Application Server 10g is a comprehensive and integrated application server that runs any Web site, portal, or Internet application. It provides all the middleware services you need to deploy and manage Oracle Reports applications. OracleAS Reports Services, the reports publishing component of Oracle Application Server, produces high quality production reports that dynamically retrieve, format, and distribute any data, in any format, anywhere.

    Oracle Application Server 10g provides additional services for deployment, including single sign-on, management services with Enterprise Manager, an HTTP server, and a servlet container for running the Reports servlet.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-23

    Copyright 2005, Oracle. All rights reserved.

    Practice 1: Overview

    This practice helps you become familiar with the Oracle software-development strategy for Oracle Reports.

    Practice 1: OverviewFor solutions to this practice, see Appendix A, Practice Solutions.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 1-24

    Practice 11. Become familiar with Oracles software development strategy for Oracle Reports by

    reviewing the document Oracle Forms Oracle Reports Oracle Designer Statement of Direction. You can access this document on the Reports home page of the Oracle Technology Network (http://www.oracle.com/technology/products/reports/index.html).

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Copyright 2004, Oracle. All rights reserved.

    Migrating Reports Applications

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-2

    Copyright 2005, Oracle. All rights reserved.

    Objectives

    After completing this lesson, you should be able to do the following: Describe the difference between deprecated and

    obsolete functionality Describe the migration path for Reports

    applications that were developed with previous releases of Oracle Reports

    Identify enhancements in the Reports Builder user interface

    Migrate a Reports application by replacing deprecated and obsolete functionality

    OverviewSuccessful businesses know that presenting data in a timely and meaningful way provides a powerful advantage over the competition. To that end, businesses continue to need ever more powerful tools for producing high-quality reports from the mass of disparate data sources kept in every major corporation today. Oracle Reports has maintained its position as a premier enterprise reporting tool by keeping pace with rapid shifts in technology. As technology has shifted, Oracle Reports has moved from character-based, to graphical-based, to client/server, and now to multitier Web-based development and deployment. In this lesson, you learn about the features that are deprecated, obsolete, or changed in Oracle Reports 10g. You also learn how to migrate existing reports that use some of these features.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-3

    Copyright 2005, Oracle. All rights reserved.

    Deprecated and Obsolete Functionality

    Deprecated functionality is no longer documented and its use is discouraged.

    Obsolete functionality has been removed from Oracle Reports and replaced with new technology.

    Deprecated and Obsolete FunctionalityWith any product, the usefulness of its technology begins to diminish over time.Deprecated functionality is at a point where product advances and enhancements have caused the functionality to be incorporated using another approach, or its general usefulness has been superseded by other precedents. As a result, that functionality is no longer documented and its use is discouraged, because it will be made obsolete in a subsequent release of Oracle Reports. The deprecation phase is provided so that customers can gradually migrate to new functionality before the deprecated functionality is made obsolete. Obsolete functionality is no longer available in Oracle Reports 10g Release 2 (10.1.2). By continuing to remove obsolete functionality and replacing it with new technology, Oracle Reports developers ensure that customers always have the latest functionality they need for successful e-business development and deployment. Note: For details about deprecated, obsolete, and changed functionality, refer to the document Oracle Reports 10g: Statement of Direction on the Oracle Technology Network (http://www.oracle.com/technology/products/reports/10g/SOD_Reports.html).

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-4

    Deprecated and Obsolete Functionality (continued)Functionality that is deprecated in Oracle Reports 10g Release 2 (10.1.2), or deprecated in earlier releases (Oracle9i Reports or Oracle Reports 10g (9.0.4)), includes:

    Executables Environment variables SRW.SET_ATTR built-in function SRW built-in parameters related to formatting SRW built-in procedures and parameters related to tracing Embedding an OLE2 object Oracle Express data source and related options Reports Server clustering Import Portal component User exits

    Functionality that is obsolete in Oracle Reports10g Release 2 (10.1.2), or made obsolete in earlier releases (Oracle9i Reports or Oracle Reports 10g (9.0.4)), includes:

    Character mode run-time viewer Graphical user interface for reports run time Oracle Graphics Executables applicable to client/server environments Command line keywords System parameters Oracle Forms built-in RUN_PRODUCT for submitting report requests Running the Reports Server as a Windows service Creating buttons in the layout model Defining external queries PVCS and Clearcase for source control Storing report definitions in the database Oracle Reports Call Interface MAPI email protocol Web Wizard

    Changed Functionality and NamingOracle Reports has improvements in functionality with every new release. In keeping with new and enhanced functionality, it was necessary to change the names of some of the properties, executables, and interfaces. For example, because the parameter form is applicable only to the paper layout, and not to the Web layout, the previously named Parameter Form view in Reports Builder is now called Paper Parameter Form view. Functionality changes include:

    Behavior of the command line keyword BACKGROUND Behavior of the command line keyword BATCH

    Naming changes include: Executable names Environment variable names Reports Builder user interface names

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-5

    Copyright 2005, Oracle. All rights reserved.

    Migrating Reports Applications

    1. Open your .rdf in Reports Builder 10g.2. Replace deprecated and obsolete functionality.3. Recompile any PL/SQL.4. Save your report definition.

    6i 10g

    Migrating Reports ApplicationsThe report applications you created with Oracle Reports 6i have the extension .rdf (report definition file). These report definitions include one layouta paper layout. You should be able to run your existing .rdf files with Oracle Reports 10g with no modifications, except for replacing obsolete functionality. You may need to open the report definitions in Reports Builder 10g, recompile any PL/SQL, and save the report.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-6

    Copyright 2005, Oracle. All rights reserved.

    Reports Builder User Interface Changes

    Report Editor views: Data Model Web Source Paper Layout Paper Design Paper Parameter Form

    Other UI changes: Previewer Property Inspector

    Reports Builder User Interface ChangesWhen you open your old report definitions in Reports Builder, you will notice changes in the user interface. As you know, every report module defines two key components in a report: the data and the layout. Beginning with Oracle9i Reports, each report module can have a data model, a paper layout, and a Web layout. The data model, as well as program units, can be shared by the paper and Web layouts. The Object Navigator includes a Web Source node for every report module. The Report Editor has been enhanced to include a Web Source view. The Web Source view displays the HTML and JSP source for a report. The other Report Editor views are Data Model, Paper Layout (previously called Layout Model), Paper Design (previously called Live Previewer), and Paper Parameter Form (previously called Parameter Form). The Object Navigator also reflects the name changes.The Runtime Previewer has been renamed Previewer. To display the printed version of a reporton your screen, access the Previewer by selecting File > Print Preview from the menu. The Property Palette has been renamed Property Inspector.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-7

    Copyright 2005, Oracle. All rights reserved.

    Formatting with the SRW Built-in Package

    To visually format fields in your report, use the new attribute-specific built-ins, such as: srw.set_background_fill_color srw.set_font_face srw.set_fill_pattern srw.set_text_color srw.set_border_width

    March 7th

    Formatting with the SRW Built-in PackageThe SRW.SET_ATTR built-in function was originally designed to save time and resources by allowing you to set attributes such as font face, foreground and background colors, border width, and so on using a single built-in function. However, each of these attributes has evolved into a separate built-in function (for example, SRW.SET_FONT_FACE and SRW.SET_BORDER_WIDTH). Note: To replace deprecated SRW.SET_ATTR functionality and attributes with new SRW built-in procedures in the PL/SQL code in your report, refer to the Deprecated SRW.SET_ATTR functionality table in the document Oracle Reports 10g: Statement of Direction on the Oracle Technology Network (http://www.oracle.com/technology/products/reports/10g/SOD_Reports.html).

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-8

    Formatting with the SRW Built-in Package (continued)Example: You want to display salaries greater than $2,000 with specific visual characteristics, such as font style, size, weight, and so on. In your 6i report, you coded a format trigger, built an attribute mask, and applied that mask to the salary field if the value in the field was greater than 2,000. Your code looked something like this:

    if :salary > 2000 thensrw.attr.mask := srw.face_attr +

    srw.sz_attr +srw.weight_attr +srw.style_attr +srw.gcolor_attr;

    srw.attr.face := times;srw.attr.sz := 18;srw.attr.weight := srw.bold_weight;srw.attr.style := srw.underline_style;srw.attr.gcolor := blue;srw.set_attr (0, srw.attr);

    end if;return(TRUE);

    To modify this report for 10g, edit your format trigger and use the new built-in functions as follows:

    if :salary > 2000 thensrw.set_font_face(times);srw.set_font_size(18);srw.set_font_weight(srw.bold_weight);srw.set_font_style(srw.underline_style);srw.set_text_color(blue);

    end if; return(TRUE);

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-9

    Copyright 2005, Oracle. All rights reserved.

    Replacing OLE2 Objects

    Replacing OLE2 ObjectsOracle6i Reports supported the use of OLE2 (Object Linking and Embedding). In the Builder, you were able to create an OLE2 container and define its contents, such as a spreadsheet, graphics, video, or sound. This functionality is applicable only to client/server environments. To migrate a report containing an embedded OLE2 object, you must delete the OLE2 object from the report definition. There is no direct replacement in Oracle Reports 10g because this functionality is not applicable to Web environments. However, you can mimic this functionality by using one of two options:

    Display images and text from external files by using the File Link tool in the Paper Layout. If you have access to a Java plug-in that can read and embed an object (for example, a

    Microsoft Word document or Microsoft Excel file), you can use the plug-in inside Oracle Reports via the Java Importer utility. O

    racl

    e U

    nive

    rsity

    and

    DAT

    ACTI

    VA C

    onsu

    ltoria

    y S

    ervi

    cios

    Info

    rmat

    icos

    LTD

    A us

    e on

    ly

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-10

    Copyright 2005, Oracle. All rights reserved.

    Migrating Charts

    Oracle6i Reports

    Oracle Reports 10g

    Migrating ChartsTo add charts to your reports in Oracle6i Reports, you used Oracle Graphics. Oracle Graphics, or Graphics Builder, is no longer supported. Since release 9i, Oracle Reports uses Business Intelligence Beans (BI Beans) to create and display graphs in reports. There is no direct migration path from Oracle Graphics to the BI Beans graphing functionality. There is no separate graphics tool; all of the graphing options and controls are now available in Reports Builder through the Graph Wizard. You must re-create all of your graphs by using the new Graph Wizard in Oracle Reports Builder 10g. The wizard produces a graph definition that consists of XML information and a JSP tag to enable you to add graphics to Web reports. Using the Graph Wizard, you can generate more complex graphs with a larger variety of graph typesover 50, including three-dimensional (3-D) graphs. You learn more about the Graph Wizard in the lesson titled Using New Features in Oracle Reports: Development.Note: Reports built with previous versions of Oracle Reports containing Oracle6i Graphics charts will continue to run when the report is opened in Oracle Reports 10g Release 2 (10.1.2) if the Oracle6i Graphics Runtime is installed on the same machine in a separate ORACLE_HOME. However, this is not a supported configuration, and Oracle will not fix bugs that result from this configuration.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-11

    Migrating Charts (continued)

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-12

    Copyright 2005, Oracle. All rights reserved.

    Replacing Buttons

    Replacing Buttons Buttons were used in a client/server environment to enable users to interact with a report in the Previewer at run time. You created buttons to:

    Access a URL Drill down to a separate detail report Display multimedia information related to report items

    Because Oracle Reports no longer has a GUI viewer, button functionality is not supported. If you open an existing 6i report that contains buttons, the buttons are displayed as simple text objects. In 10g, use URLs, links, and parameters to drill down to detailed reports and access multimedia objects such as sound and video. Hint: If you want to preserve the look of a button in your migrated reports, include an image as the object with the associated link. O

    racl

    e U

    nive

    rsity

    and

    DAT

    ACTI

    VA C

    onsu

    ltoria

    y S

    ervi

    cios

    Info

    rmat

    icos

    LTD

    A us

    e on

    ly

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-13

    Copyright 2005, Oracle. All rights reserved.

    Referencing System Parameters

    Referencing System ParametersReports Builder provides system parameters that you use to modify standard run-time settings for each report definition. Each parameter has a default value that you can modify.In Oracle Reports 10g, there are seven system parameters: COPIES, DESFORMAT, DESNAME, DESTYPE, MODE, ORIENTATION, and PRINTJOB. The system parameters BACKGROUND, CURRENCY, DECIMAL, and THOUSANDS are obsolete. Instead, use the new methods of configuration such as setting the appropriate environment variable or using command line keywords.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-14

    Referencing System Parameters (continued)Refer to the following table to replace the obsolete system parameters in your reports with the new functionality.

    Use BACKGROUND as a command line keyword.BACKGROUND: Specifies whether a report on the server should be run synchronously (NO) or asynchronously (YES)

    Set the NLS_NUMERIC_CHARACTERS environment variable.

    THOUSANDS: The thousands character to be used in number formats

    Set the NLS_NUMERIC_CHARACTERS environment variable.

    DECIMAL: The decimal character to be used in number formats

    Set the NLS_CURRENCY environment variable. CURRENCY: The currency character to be used in number formats

    Alternative OptionSystem Parameter

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-15

    Copyright 2005, Oracle. All rights reserved.

    Replacing User Exits

    ORA_JAVA built-in package Java Importer ORA_FFI built-in package

    Replacing User ExitsIn earlier releases of Oracle Reports, user exits provided a way in which to pass control (and possibly arguments) from Oracle Reports to another Oracle product or 3GL, and then return control (and possibly arguments) back to Oracle Reports. With Oracle Reports 10g, you can call Java methods by using the ORA_JAVA built-in package and the Java Importer. This reduces the need to have user exits in a report and allows for a more open and portable deployment. You can also use the ORA_FFI built-in package, which provides a foreign function interface for invoking C functions in a dynamic library.

    The ORA_JAVA built-in package provides an interface for invoking Java classes from PL/SQL.

    The Java Importer enables you to access the rich environment of the Java programming language from your reports. Using the Java Importer, you can automatically generate PL/SQL packages and procedures to access Java classes, and then program with the generated PL/SQL in your reports. The PL/SQL generated by the Java Importer is robust, offering support for the original Java class constructors, methods, and fields. Beyond simply mapping static methods to PL/SQL functions and procedures, the Java Importer provides support for persistent Java objects, with support for type mapping and array objects.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-16

    Replacing User Exits (continued) The ORA_FFI package provides a foreign function interface for invoking C functions in a

    dynamic library. Note: With the availability of these new built-in functions, the use of user exits is discouraged in Oracle Reports 10g. However, makefiles will continue to be supplied to permit you to work with existing user exits.

    Ora

    cle

    Uni

    vers

    ity a

    nd D

    ATAC

    TIVA

    Con

    sulto

    ria y

    Ser

    vici

    os In

    form

    atic

    os L

    TDA

    use

    only

    THES

    E eK

    IT M

    ATER

    IALS

    AR

    E FO

    R Y

    OU

    R U

    SE IN

    TH

    IS C

    LASS

    RO

    OM

    ON

    LY.

    CO

    PYIN

    G e

    KIT

    MAT

    ERIA

    LS F

    RO

    M T

    HIS

    CO

    MPU

    TER

    IS S

    TRIC

    TLY

    PRO

    HIB

    ITED

  • Oracle Reports Developer 10g: Move to the Web 2-17

    Copyright 2005, Oracle. All rights reserved.

    Reports Executables

    Reports executables are replaced with new executables, including: rwrbe60: Reports Background Engine rwisv60: Interactive Server rwows60: Oracle Application Server cartridge obe60: Query Builder gorun60: Oracle Graphics Runtime gobld60: Oracle Graphics Builder gobat60: Oracle Graphics Batch

    Reports ExecutablesExecutables that were applicable only to client/server environments were rendered obsolete beginning with Oracle9i Reports. In addition, some executables have been replaced with new executables to provide more comprehensive functionality.

    rwrbe60 (Reports Background Engine): Report requests could be directly submitted to the background engine. Beginning with Oracle9i Re