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

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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

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

 


Dev Shed Tutorial Topics: