Oracle
  Home arrow Oracle arrow Page 5 - 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 - Client
    ( Page 5 of 5 )

     

    There are two XML files that contain client configuration information: application-client.xml and orion-application-client.xml.

    J2EE application-client.xml   The application-client.xml file contains the JNDI information necessary for accessing the server application.

      <application-client>
            <display-name>TemplateBean</display-name>
            <ejb-ref> 
                  <ejb-ref-name>TemplateBean</ejb-ref-name> 
                 
    <ejb-ref-type>Entity</ejb-ref-type>
                 
    <home>mTemplateHome</home>
                  <remote>Template</remote>
            </ejb-ref>
      </application-client>

    OC4J-Specific orion-application-client.xml   The orion-application-client.xml file contains JNDI mappings for the client. The JNDI mappings map the EJB reference logical name to the JNDI name for the EJB, as shown in this example:

      <orion-application-client>
        
    <ejb-ref-mapping name="TemplateBean"
         location="myapp/myapp-ejb/TemplateBean" />
     
    </orion-application-client>

    Connector

    There are two connector-related XML files: ra.xml and oc4j-ra.xml.

    ra.xml   The ra.xml file contains J2EE-related configuration information.

    oc4j-ra.xml   The oc4j-ra.xml file contains OC4J-specific configuration information.

    Using the Application Server Control to Configure OC4J

    In the previous subsections, you learned how to manually edit the various OC4J configuration files. However, you can change OC4J configuration easily through the Application Server Control. To edit OC4J server configuration files using the Application Server Control, follow these steps:

    1. On the OC4J home page, click the Administration tab to display the Administration page.
    2. On the Administration page, click the Advanced Properties button.
    3. The OC4J Advanced Properties page appears listing all configuration files available for editing for the current OC4J server.
    4. The OC4J Advanced Properties Page appears, listing all the OC4J configuration files you can edit. Click the configuration file you want to edit. You can then make your configuration changes in the editable text box that appears.
    5. Click the Apply button to save your configuration changes.

    Please check back next week for the continuation of this article.



     
     
    >>> 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