• Non ci sono risultati.

Overview of Oracle9 i AS Reports Services

Nel documento 3 Configuring Oracle9iAS Reports Services (pagine 25-28)

Oracle9iAS Reports Services Architecture

1.1 Overview of Oracle9 i AS Reports Services

Oracle9iAS Reports Services Architecture

When you're ready to publish your reports, all the Web server and application server tools you'll need are available in the Oracle9i Application Server (Oracle9iAS). This chapter describes the architecture of relevant Oracle9iAS components in combination with its reports publishing component: Oracle9iAS Reports Services. It also provides an overview of reports runtime processing and offers some things to consider when you set up your server environment.

This chapter includes the following sections:

 Overview of Oracle9iAS Reports Services

 Oracle9iAS Reports Services Components

 Oracle9iAS Reports Services Runtime Process

 Things to Consider When You Set Up Your System

1.1 Overview of Oracle9 i AS Reports Services

Oracle9iAS is a comprehensive and integrated application server that runs any Web site, portal, or Internet application. It enables you to make applications available from Web browsers, mobile devices, and command lines. Oracle9iAS Reports Services is the reports publishing component of Oracle9iAS. 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 Oracle9iAS Reports Services to publish in both Web-based and non-Web-based environments.

Oracle9iAS Reports Services provides a scalable, flexible architecture for the distribution and automated management of report generation engines on the same server and across multiple servers. Additionally, it caches report outputs for reuse

Servlets, and CGI. It enables you to run reports on both local and remote

application servers and to implement a multi-tiered architecture for running your reports.

When used in conjunction with servlet, JSP, or CGI (maintained only for backward compatibility), Oracle9iAS Reports Services enables you to run reports on any platform from a Web browser using a standard URL syntax. For servlet

implementations, the in-process server is available for faster response and easier administration. The in-process server cuts down on the communication expense between processes and consequently increases response times.

Oracle9iAS Reports Services handles client requests to run reports by entering all requests into a job queue. When one of the server's engines becomes available, the next job in the queue is dispatched to run. As the number of jobs in the queue increases, the server can start more engines until it reaches the maximum limit specified in your server configuration. Similarly, engines are shut down automatically after having been idle for a period of time that you specify (see Chapter 3, "Configuring Oracle9iAS Reports Services").

Oracle9iAS Reports Services keeps track of all jobs submitted to the server, including jobs that are running, scheduled to run, finished, or failed. The Reports Queue Manager (Windows), the Reports Queue Viewer (UNIX), theshowjobs command (Web), and the Reports Services pages in Oracle Enterprise Manager (OEM) enable you to view information on when jobs are scheduled, queued, started, finished, and failed, as well as the job output and the final status of the report.

With Oracle9iAS Reports Services, job objects are persistent. This means that if the server is shut down then restarted, all jobs are recovered,1not just scheduled jobs.

When used in a Web environment, the Oracle9iAS Reports Services architecture consists of four tiers:

 The client tier (a Web browser)

 The Web server tier

1 Only synchronous jobs and jobs that are currently running are lost in this case.

Note: The term tier refers to the logical location of the components that comprise the Oracle9iASReports Services architecture. Each of the tiers, though, could reside on the same or different machines.

 The Oracle9iAS Reports Services tier

 The data tier, including databases and all other data sources

When used in a non-Web environment, there are three tiers (a Web server being unnecessary):

 The client tier (a small, proprietary application on each client machine)

 Oracle9iAS Reports Services tier

 The data tier, including databases and pluggable data sources

The way you set up these tiers can range from having all of them on one machine to having each of them on a separate machine. Additionally, you can have multiple Web servers on multiple machines as well as multiple application servers on multiple machines.

If you choose to have your Web server on multiple machines, the Oracle9iAS HTTP Server provides a load balancing feature to allow sharing of the Web server load across multiple machines. If you choose to have your application server on multiple machines, Oracle9iAS Reports Services provides peer-level clustering to allow sharing of the Reports Server load among multiple machines.

The difference between load balancing and peer clustering is that with load balancing, one machine manages the traffic across all machines; while with peer clustering, all machines are aware of the traffic on each machine, and each machine shares the task of monitoring and responding to requests. The advantage of

peer-level clustering is the elimination of a single point of failure, further supporting the possibility of a fail-safe environment.

Oracle9iAS Reports Services provides event-based reporting. This uses database events to trigger the generation of a report. For example, you can define an event that signals a change in revenue levels above or below a particular watermark. If the change occurs in the database (the event), a report is automatically generated. This feature is discussed in detail inChapter 11, "Event-Driven Publishing".

Oracle9iAS Reports Services includes a distribution module that uses XML to define unique configurations for the distribution of reports. Call the desired XML file from the runtime command line or URL to generate one report, and let the server handle diverse outputs and destinations. Processing time is significantly reduced and

Note: Reports Server clustering is discussed in detail inChapter 6,

"Reports Server Clusters".

configuration changes can all be handled within the XML file. This feature is discussed in detail inChapter 9, "Creating Advanced Distributions".

Nel documento 3 Configuring Oracle9iAS Reports Services (pagine 25-28)