|Oracle9i Application Server Best Practices
Release 2 (9.0.3)
Part Number B10578-02
This document is a collection of common practices regarding development and deployment of Oracle9iAS. It covers common mistakes, product usage scenarios, and also provides a review checklist for different phases of Oracle9iAS deployment. Some of the practices may be generic to Java 2 Enterprise Edition (J2EE) and not specific to Oracle9iAS.
The document introduces the J2EE and Web Cache install type of Oracle9iAS, and then discusses the practices associated with each Oracle9iAS component. The practices are then bound together with some complete deployment examples.
A best practice is, in general, a recommendation or a common practice on how to perform certain tasks and actions. This recommendation may involve a combination of tools and manual processes to achieve a desired result.
The best practices in this document are deliberately kept brief. They do not include the detailed steps. Those are covered in other documentation library books.
Oracle9iAS Release 2 can be installed in different ways- J2EE and Web Cache install type offers the most basic install. In this paper, the term Oracle9iAS is used to refer to this installation type. This book will discuss the following components:
Figure 1-1 below displays the components deployed in a clustered scenario.
For detailed information on Oracle9iAS components and features, refer to the product documentation.
This document is intended for all users of Oracle9iAS: application designers, developers, deployers, and administrators. It is assumed that the reader has sufficient knowledge about J2EE and relevant Web technologies and terms.
The reader is also assumed to be familiar with basic Oracle9iAS terminology. This document does not explain the terms to the beginner, but does cover the nuances of different options that a feature may provide.
This document as a whole focuses on Oracle9iAS Web Cache, Oracle HTTP Server, OC4J, J2EE programming, Oracle9iAS Portal, Oracle Internet Directory, and Oracle9iAS deployment. Other mature technologies like Perl and PLSQL have sufficient associated literature, and are not covered here. An application server running J2EE applications is still impacted by the basic practices in Java programming - specially the performance-related practices.
These are covered first, followed by J2EE practices: JSPs, servlets, and EJBs. We then cover practices on some of the frameworks Oracle9iAS provides, for example, BC4J and Java Object Cache.
Oracle9iAS Web Cache practices then elaborate the different manners in which Oracle9iAS Web Cache may be leveraged. The overall security practices then provide some tips to secure deployment.
This document also describes some deployment architectures with respect to placing different components along with firewalls.
Most of the performance related practices are covered in more detail in the Oracle9iAS Performance and Tuning Guide. The sections on servlets, BC4J, and data access rely heavily on this.
In the clustering sections, the following two white papers were referenced:
Other references as appropriate to certain sections or practices are alluded to within the description of the best practice.