Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

geronimo-application.xml tells the application that there is a database pool that needs to be deployed as well. The db pool is defined in InventoryPool.xml and the driver that is needs in order to be deployed is the tranql-connector-ra-1.3.rar file--these two files will reside on the top level layer of the resultant EAR file.

Code Block
xml
xml
borderStylesolid
title2geronimo-application.xmlborderStylesolid
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-2.0">

    <dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
        <dep:moduleId>
            <dep:groupId>org.apache.geronimo.samples</dep:groupId>
            <dep:artifactId>inventory-ear</dep:artifactId>
            <dep:version>2.1</dep:version>
            <dep:type>ear</dep:type>
        </dep:moduleId>
    </dep:environment>
	<module>
		<connector>tranql-connector-ra-1.3.rar</connector>
		<alt-dd>InventoryPool.xml</alt-dd>
	</module>
</application>

...