Home arrow Oracle arrow Page 4 - Configuring J2EE Application XML Files

Web Module - Oracle

In this fourth part of a series covering the management of OC4J and configuring J2EE applications with Oracle 10g Application Server, we take a closer look at at J2EE application deployment files and more. This article is excerpted from chapter eight of the Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill; ISBN: 0072262710).

TABLE OF CONTENTS:
  1. Configuring J2EE Application XML Files
  2. Description of the Application (J2EE Deployment) XML Files
  3. The orion-application.xml File
  4. Web Module
  5. Client
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 7
March 08, 2007

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

There are two Web-related XML files, one of which is the J2EE-specific XML file and the other, the OC4J-specific XML file.

J2EE web.xml   All servlets, EJBs, and JSPs that are part of the J2EE application are described in the J2EE web.xml file. Here are the contents of a typical web.xml file:

  <web-app>
     <display-name>myapp web application</display-name>
     <description>
        Web module that contains an HTML welcome page, and 4
  JSP's.
     </description>
     <welcome-file-list>
        <welcome-file>index.html</welcome-file>
     </welcome-file-list>
     <ejb-ref>
        <ejb-ref-name>TemplateBean</ejb-ref-name>
        <ejb-ref-type>Entity</ejb-ref-type>
        <home>TemplateHome</home>
        <remote>Template</remote>
    
</ejb-ref>
     <servlet>
        <servlet-name>template</servlet-name>
        <servlet-class>TemplateServlet</servlet-class>
        <init-param>
          
<param-name>length</param-name>
           <param-value>1</param-value>
        </init-param>
     </servlet>
  </web-app>

OC4J-Specific orion-web.xml   The orion-web.xml file contains the mappings for Web settings. Here are important items that are part of this file:

  1. Auto-reloading
  2. Buffering
  3. Directory browsing
  4. Document root
  5. Virtual directories
  6. Clustering
  7. Session tracking
  8. JNDI mappings



 
 
>>> More Oracle Articles          >>> More By McGraw-Hill/Osborne
 

blog comments powered by Disqus
   

ORACLE ARTICLES

- Oracle Java Security Woes Continue
- Oracle's New IaaS Cloud Option: There's a Ca...
- Oracle Acquires Eloqua to Boost Cloud Presen...
- Choosing Innovation: Oracle Survey Insights
- Oracle Fixes Privilege Escalation Bug
- Oracle`s Communications Service Availability...
- Oracle Releases Exalytics, Taleo Plans
- Oracle Releases Communications Network Integ...
- Oracle Releases Communications Data Model 11...
- Oracle Releases PeopleSoft PeopleTools 8.52
- Oracle Integrates Cloudera Apache Distro, My...
- Oracle Releases MySQL 5.5.18
- Oracle Announces NoSQL Database Availability
- Sorting Database Columns With the SELECT Sta...
- Retrieving Table Data with the LIKE Operator

Developer Shed Affiliates

 



© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap

Dev Shed Tutorial Topics: