In this section: |
Reference: |
The three tiers of application logic in a published application are designed to exploit the capabilities of web processing and enhance the performance, scalability, and maintenance of an application. Partitioning an application into tiers is a means of classifying the functionality of the application. You can publish partitioned components across many different platforms. See Distributing Processing Among Platforms.
The three tiers of application logic are:
The presentation layer resides on the web server and is handled by the web server and the web browser of the end user.
This logic is provided by TIBCO WebFOCUS®, and resides on the Application Server or servlet engine plug-in to the web server.
Data access logic usually resides on the same server as the data itself (either the TIBCO WebFOCUS® Reporting Server or a sub-server). A WebFOCUS reporting application takes advantage of the data access logic of WebFOCUS middleware technology.
For an illustration, see Partitioned Application Files and Servers.
The following diagram illustrates how all user interface logic and data access logic can be configured behind multiple firewalls for maximum security.
The web server processes the webpages that provide the presentation logic for a WebFOCUS reporting application. The web server accesses HTML files, graphical image files, and Java class files, and Cascading Style Sheets. For more information about how to specify file locations on the web server, see the WebFOCUS installation guide for your platform.
The application server provides the user interface logic for your WebFOCUS tools, and is the location for servlets, JSPs, and Java Beans. Having an application server to process application logic behind the user interface provides performance and security benefits.
WebFOCUS does not provide an application server. You can use a third-party server, such as WebLogic, WebSphere, Tomcat, Apache, or Netscape.
The Application server resides separately or together with the web server.
The WebFOCUS Reporting Server processes the procedures containing the user interface logic for reports, as well as the files that contain metadata for the data sources. Stored on the WebFOCUS Reporting Server are report requests, WebFOCUS StyleSheets, customized HTML pages called from WebFOCUS procedures, and Master and Access Files.
The WebFOCUS Reporting Server also accesses the data sources used by an application.
A WebFOCUS reporting application can publish and use all of the following types of files. The following chart includes file extensions used by the Windows® and UNIX® operating systems. See Defining and Allocating WebFOCUS Files for comparable information for z/OS® and other supported operating environments.
File Type |
Description |
Location After Publishing |
File Extension (Windows/UNIX) |
---|---|---|---|
Webpage |
Includes files displayed for the end user through a web browser, such as HTML files, graphical images, Java executable objects (class files), and Cascading Style Sheets. |
In web server home directory or in web server alias |
.htm .html .jpg .gif .css .js .class .jar |
User interface logic |
Includes servlets and JSPs. |
Application server |
.jsp .class |
Procedure |
Includes files that contain the executable functions of an application: report requests, WebFOCUS StyleSheets, and customized HTML called from WebFOCUS procedures using the Dialogue Manager command -HTMLFORM. For details about this command, see Enhancing an HTML Webpage With a Procedure. |
On the path of the WebFOCUS Reporting server |
.fex .sty .htm |
Master File Access File |
Includes all Master Files and Access Files. |
On the path of the WebFOCUS Reporting server |
.mas .acx |
Data source |
Includes all supported data sources types. |
On the platform with the WebFOCUS Reporting Server or sub-servers |
n/a |
Temporary file |
Includes data extracts, temporary files that your application creates during processing, and temporary work files that WebFOCUS uses internally. |
In the EDA temporary directory (default) or a user-defined EDA location |
.ftm or other requested extension |
WebFOCUS applications are capable of distributing processing over many platforms, with the following advantages:
For a more detailed discussion of this topic, see the WebFOCUS installation guide for your platform.