This illustration shows the mappings from the OC4J server.xml top-level configuration file to Web site configuration files, EAR files, and the RMI and JMS configuration files. In particular:
path attribute of the <web-site> element shows the path and file name of the Web site XML file.
name attribute, points to the EAR file (or extracted EAR) of a J2EE application that is recognized by this OC4J instance. The path attribute has the path to the EAR file (or to the top-level directory of an extracted EAR).
parent attribute in server.xml.) The illustration also shows how a Web site XML file binds Web modules to a Web site. In a Web site XML file, each <web-app> element specifies an EAR file name (through the application attribute), the name of a Web module that the EAR file contains (through the name attribute), and a root URL used to invoke the Web module on this Web site (through the root attribute). This "binds" the Web module to the Web site.