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  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
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: starstarstarstarstar / 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:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log 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
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - 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...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT