Oracle
  Home arrow Oracle arrow Page 4 - Configuring J2EE Application XML Files
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Moblin 
JMSL Numerical Library 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Configuring J2EE Application XML Files
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2007-03-08

    Table of Contents:
  • Configuring J2EE Application XML Files
  • Description of the Application (J2EE Deployment) XML Files
  • The orion-application.xml File
  • Web Module
  • Client

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Configuring J2EE Application XML Files - Web Module


    (Page 4 of 5 )

    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


       · This article is an excerpt from the book "Oracle 10g Application Server Exam Guide,"...
     

    Buy this book now. This article is excerpted from chapter eight of the Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill; ISBN: 0072262710). Check it out today at your favorite bookstore. Buy this book now.

       

    ORACLE ARTICLES

    - Implementing and Using Oracle`s Restore Poin...
    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...
    - Sub-templates and More with Oracle HTML DB





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway