geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlaskow...@apache.org
Subject svn commit: r354645 - in /geronimo/trunk/sandbox/adventurebuilder: maven.xml src/plan/activitysupplier1.0.3.ear-plan.xml src/plan/adventure1.0.3-jms-ra-plan.xml src/plan/opc1.0.3.ear-plan.xml
Date Wed, 07 Dec 2005 01:36:19 GMT
Author: jlaskowski
Date: Tue Dec  6 17:36:08 2005
New Revision: 354645

URL: http://svn.apache.org/viewcvs?rev=354645&view=rev
Log:
More modules to be deployed - WARNING: missing a complete OPC plan and thus the deployment fails

Added:
    geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml   (with props)
    geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml   (with props)
    geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml   (with props)
Modified:
    geronimo/trunk/sandbox/adventurebuilder/maven.xml

Modified: geronimo/trunk/sandbox/adventurebuilder/maven.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/maven.xml?rev=354645&r1=354644&r2=354645&view=diff
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/maven.xml (original)
+++ geronimo/trunk/sandbox/adventurebuilder/maven.xml Tue Dec  6 17:36:08 2005
@@ -52,6 +52,15 @@
                 name="${maven.build.dir}/plan/${planName}"/>
         </j:forEach>
 
+        <ant:echo>Building JMS Configuration</ant:echo>
+        <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
+            <ant:jvmarg value="-ea"/>
+            <ant:arg value="--offline"/>
+            <ant:arg value="distribute"/>
+            <ant:arg value="${maven.build.dir}/plan/adventure1.0.3-jms-ra-plan.xml"/>
+            <ant:arg value="${maven.repo.local}/activemq/rars/activemq-ra-${activemq_version}.rar"/>
+        </ant:java>
+
         <ant:echo>Distributing Database Configuration</ant:echo>
         <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
             <ant:jvmarg value="-ea"/>
@@ -75,6 +84,24 @@
             <ant:arg value="${ab.home}/consumerwebsite.ear"/>
         </ant:java>
 
+        <ant:echo>Distributing Adventure Builder Activity Supplier Application</ant:echo>
+        <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
+            <ant:jvmarg value="-ea"/>
+            <ant:arg value="--offline"/>
+            <ant:arg value="distribute"/>
+            <ant:arg value="${maven.build.dir}/plan/activitysupplier1.0.3.ear-plan.xml"/>
+            <ant:arg value="${ab.home}/activitysupplier.ear"/>
+        </ant:java>
+
+        <ant:echo>Distributing Adventure Builder OPC Application</ant:echo>
+        <ant:java fork="true" jar="${instDir}/bin/deployer.jar" failonerror="true">
+            <ant:jvmarg value="-ea"/>
+            <ant:arg value="--offline"/>
+            <ant:arg value="distribute"/>
+            <ant:arg value="${maven.build.dir}/plan/opc1.0.3.ear-plan.xml"/>
+            <ant:arg value="${ab.home}/opc.ear"/>
+        </ant:java>
+
         <ant:echo>Creating Adventure Builder Database Schema</ant:echo>
         <j:invokeStatic className="java.lang.System" method="setProperty">
             <j:arg type="java.lang.String" value="derby.system.home"/>
@@ -93,13 +120,23 @@
         <deploy:startRemoteServer
             geronimoTarget="${instDir}"
             debugPort="8000"
-	    configs="org/apache/geronimo/AdventureBuilder1.0.1"/>
+	    configs="org/apache/geronimo/AdventureBuilder1.0.1 org/apache/geronimo/ActivitySupplier1.0.3 org/apache/geronimo/OPC1.0.3 org/apache/geronimo/RuntimeDeployer"/>
         <ant:echo message="Waiting for server at: ${instDir}"/>
         <deploy:waitForStarted
             uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
             username="system"
             password="manager"
             id="org/apache/geronimo/Adventure1.0.1"/>
+        <deploy:waitForStarted
+            uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            id="org/apache/geronimo/ActivitySupplier1.0.3"/>
+        <deploy:waitForStarted
+            uri="jmx:rmi://localhost/jndi/rmi:/JMXConnector"
+            username="system"
+            password="manager"
+            id="org/apache/geronimo/OPC1.0.3"/>
         <echo message="PetStore has started"/>
     </goal>
 

Added: geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml?rev=354645&view=auto
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml (added)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml Tue Dec  6 17:36:08 2005
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" 
+    parentId="org/apache/geronimo/AdventureDataSource1.0.1"
+    configId="org/apache/geronimo/ActivitySupplier1.0.3">
+    <import>
+        <uri>org/apache/geronimo/AdventureBuilderJMS</uri>
+    </import>
+    <module>
+        <ejb>activitysupplier-ejb.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar"
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming" 
+            xmlns:sys="http://geronimo.apache.org/xml/ns/deployment"
+            configId="NOT_USED">
+            <cmp-connection-factory>           
+                <resource-link>AdventureDataSource</resource-link>
+            </cmp-connection-factory>
+            <enterprise-beans>
+                <session>
+                    <ejb-name>ActivityPOEndpointBean</ejb-name>
+                    <jndi-name>ActivityPOEndpointBean</jndi-name>
+                    <resource-ref>   
+                        <ref-name>jms/activity/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>   
+                    </resource-ref>
+                    <resource-ref>   
+                        <ref-name>jms/activity/ActivityQueue</ref-name>
+                        <resource-link>jms/activity/ActivityQueue</resource-link>   
+                    </resource-ref>
+                </session>
+                <entity>
+                    <ejb-name>ActivityPurchaseOrderBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.activitysupplier.purchaseorder.ejb.ActivityPurchaseOrderLocalHome</jndi-name>
+                    <table-name>ActivityPurchaseOrder</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>poId</cmp-field-name>
+                        <table-column>poId</table-column>
+                    </cmp-field-mapping>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/activitysupplier/ActivityDetails</ref-name>
+                        <name>ActivityDetailsBean</name>
+                    </ejb-local-ref>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>ActivityDetailsBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.activitysupplier.purchaseorder.ejb.ActivityDetailsLocalHome</jndi-name>
+                    <table-name>ActivityDetails</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>activityId</cmp-field-name>
+                        <table-column>activityId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>startDate</cmp-field-name>
+                        <table-column>startDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>endDate</cmp-field-name>
+                        <table-column>endDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>headCount</cmp-field-name>
+                        <table-column>headCount</table-column>
+                    </cmp-field-mapping>   
+                    <cmp-field-mapping>
+                        <cmp-field-name>activityDetailsBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>ActivityDetailsBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>
+                    </cmp-field-mapping>
+                    <primkey-field>activityDetailsBean_upk</primkey-field>
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO ActivityDetails VALUES(null,activityId,startDate,endDate,headCount,null)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <message-driven>
+                    <ejb-name>ActivityMessageEJB</ejb-name>
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>             
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/activity/ActivityTopic</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Topic</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/WebServiceBroker</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>BrokerServiceIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                </message-driven>  
+            </enterprise-beans>
+            <relationships> 
+                <ejb-relation>
+                    <ejb-relation-name>ActivityRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>ActivityPurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>ActivityPurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>activities</cmr-field-name>
+                        </cmr-field>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>poId</key-column>
+                                <foreign-key-column>ActivityPurchaseOrderBean_activities</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>
+                    </ejb-relationship-role>
+                </ejb-relation>
+            </relationships>
+        </openejb-jar>
+    </module>
+</application>

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/activitysupplier1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml?rev=354645&view=auto
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml (added)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml Tue Dec  6 17:36:08 2005
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev$ $Date$ -->
+<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"
+    parentId="geronimo/system-jms/1.0-SNAPSHOT/car" 
+    configId="org/apache/geronimo/AdventureBuilderJMS">
+
+    <resourceadapter>
+        <resourceadapter-instance>
+          <resourceadapter-name>Adventure Builder JMS Resources</resourceadapter-name>
+          <config-property-setting name="ServerUrl">tcp://localhost:61616</config-property-setting>
+          <config-property-setting name="UserName">geronimo</config-property-setting>
+          <config-property-setting name="Password">geronimo</config-property-setting>
+          <workmanager>
+            <gbean-link>DefaultWorkManager</gbean-link>
+          </workmanager>
+        </resourceadapter-instance>
+        <outbound-resourceadapter>
+          <connection-definition>
+            <connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
+            <connectiondefinition-instance>
+              <name>AdventureBuilderConnectionFactory</name>
+              <implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
+              <implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
+              <connectionmanager>
+                <xa-transaction>
+                  <transaction-caching/>
+                </xa-transaction>
+                <single-pool>
+                  <max-size>10</max-size>
+                  <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
+                  <match-one/>
+                </single-pool>
+              </connectionmanager>
+              <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
+            </connectiondefinition-instance>
+          </connection-definition>
+        </outbound-resourceadapter>
+    </resourceadapter>
+    <adminobject>
+        <adminobject-interface>javax.jms.Queue</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/activity/ActivityQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/activity/ActivityQueue</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+    <adminobject>
+        <adminobject-interface>javax.jms.Topic</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/activity/ActivityTopic</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/activity/ActivityTopic</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+    <adminobject>
+        <adminobject-interface>javax.jms.Queue</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/opc/WorkFlowMgrQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/opc/WorkFlowMgrQueue</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+    <adminobject>
+        <adminobject-interface>javax.jms.Queue</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/opc/OrderFillerQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/opc/OrderFillerQueue</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+    <adminobject>
+        <adminobject-interface>javax.jms.Topic</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQTopic</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/opc/BrokerRequestorTopic</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/opc/BrokerRequestorTopic</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+    <adminobject>
+        <adminobject-interface>javax.jms.Queue</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/opc/CRMQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/opc/CRMQueue</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+    <adminobject>
+        <adminobject-interface>javax.jms.Queue</adminobject-interface>
+        <adminobject-class>org.codehaus.activemq.message.ActiveMQQueue</adminobject-class>
+        <adminobject-instance>
+            <message-destination-name>jms/opc/WebServiceBrokerQueue</message-destination-name>
+            <config-property-setting name="PhysicalName">jms/opc/WebServiceBrokerQueue</config-property-setting>
+        </adminobject-instance>
+    </adminobject>
+</connector>

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/adventure1.0.3-jms-ra-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml
URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml?rev=354645&view=auto
==============================================================================
--- geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml (added)
+++ geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml Tue Dec  6 17:36:08 2005
@@ -0,0 +1,738 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Copyright 2005 The Apache Software Foundation
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<!-- $Rev$ $Date$ -->
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application" 
+    parentId="org/apache/geronimo/AdventureDataSource1.0.1"
+    configId="org/apache/geronimo/OPC1.0.3">
+    <import>
+        <uri>org/apache/geronimo/AdventureBuilderJMS</uri>
+    </import>
+    <dependency>
+        <uri>geronimo/geronimo-common/${geronimo_version}/jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo/geronimo-mail/${geronimo_version}/jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo-spec/geronimo-spec-activation/${geronimo_spec_activation_version}/jar</uri>
+    </dependency>
+    <dependency>
+        <uri>geronimo-spec/geronimo-spec-javamail/${geronimo_spec_javamail_version}/jar</uri>
+    </dependency>
+    <module>
+        <ejb>opc-ejb.jar</ejb>
+        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar"
+            xmlns:naming="http://geronimo.apache.org/xml/ns/naming" 
+            xmlns:sys="http://geronimo.apache.org/xml/ns/deployment"
+            configId="NOT_USED">
+            <cmp-connection-factory>
+                <resource-link>AdventureDataSource</resource-link>
+            </cmp-connection-factory>
+            <enterprise-beans>
+                <session>
+                    <ejb-name>PoEndpointBean</ejb-name>
+                    <jndi-name>PoEndpointBean</jndi-name>
+                    <resource-ref>
+                        <ref-name>jms/opc/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>     
+                    </resource-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/opc/WorkFlowMgrQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/opc/WorkFlowMgrQueue</naming:message-destination-link>
+                    </naming:resource-env-ref>
+                    <web-service-address>http://localhost:8080/webservice/PoEndpointBean</web-service-address>     
+                </session>
+                <session>
+                    <ejb-name>BrokerServiceBean</ejb-name>
+                    <jndi-name>BrokerServiceBean</jndi-name>
+                    <resource-ref>
+                        <ref-name>jms/opc/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>        
+                    </resource-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/opc/WorkFlowMgrQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/opc/WorkFlowMgrQueue</naming:message-destination-link>
+                    </naming:resource-env-ref>
+                    <web-service-address>http://localhost:8080/webservice/WebServiceBroker</web-service-address>
+                </session>
+                <session>
+                    <ejb-name>OtEndpointBean</ejb-name>
+                    <jndi-name>OtEndpointBean</jndi-name>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/processmanager/ProcessManager</ref-name>
+                        <name>ProcessManagerBean</name>
+                    </ejb-local-ref>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/purchaseorder/PurchaseOrder</ref-name>
+                        <name>PurchaseOrderBean</name>   
+                    </ejb-local-ref>
+                    <web-service-address>http://localhost:8080/webservice/OtEndpointBean</web-service-address>
+                </session>
+                <message-driven>
+                    <ejb-name>WorkFlowManagerBean</ejb-name>
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>    
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/opc/WorkFlowMgrQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/CreditCardService</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>CreditCardIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                    <resource-ref>
+                        <ref-name>jms/opc/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>
+                    </resource-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/opc/OrderFillerQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/opc/OrderFillerQueue</naming:message-destination-link>
+                    </naming:resource-env-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/opc/CRMQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/opc/CRMQueue</naming:message-destination-link>
+                    </naming:resource-env-ref>
+                </message-driven>
+                <message-driven>
+                    <ejb-name>OrderFillerBean</ejb-name>
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>          
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/opc/OrderFillerQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                    <resource-ref>
+                        <ref-name>jms/opc/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>
+                    </resource-ref>
+                    <naming:resource-env-ref>
+                        <naming:ref-name>jms/opc/WebServiceBrokerQueue</naming:ref-name>
+                        <naming:message-destination-link>jms/opc/WebServiceBrokerQueue</naming:message-destination-link>
+                    </naming:resource-env-ref>
+                </message-driven>
+                <message-driven>
+                    <ejb-name>BrokerRequestorBean</ejb-name>
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>    
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/opc/BrokerRequestorTopic</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Topic</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/ActivityPOService</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>ActivityPOIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/LodgingPOService</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>LodgingPOIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                    <naming:service-ref>
+                        <naming:service-ref-name>service/AirlinePOService</naming:service-ref-name>
+                        <naming:port>
+                            <naming:port-name>AirlinePOIntfPort</naming:port-name>
+                            <naming:protocol>http</naming:protocol>
+                            <naming:host>localhost</naming:host>
+                            <naming:port>8080</naming:port>
+                            <naming:uri>/activity/foo/as</naming:uri>
+                        </naming:port>
+                    </naming:service-ref>
+                    <resource-ref>
+                        <ref-name>jms/opc/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>        
+                    </resource-ref>
+                </message-driven>
+                <entity>
+                    <ejb-name>AddressBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.AddressLocalHome</jndi-name>
+                    <table-name>Address</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>streetName1</cmp-field-name>
+                        <table-column>streetName1</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>streetName2</cmp-field-name>
+                        <table-column>streetName2</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>city</cmp-field-name>
+                        <table-column>city</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>state</cmp-field-name>
+                        <table-column>state</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>postalCode</cmp-field-name>
+                        <table-column>postalCode</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>country</cmp-field-name>
+                        <table-column>country</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>addressBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>AddressBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>
+                    </cmp-field-mapping>
+                    <primkey-field>addressBean_upk</primkey-field>     
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO Address VALUES(null,streetName1,streetName2,city,state,postalCode,country)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>ContactInfoBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.ContactInfoLocalHome</jndi-name>
+                    <table-name>ContactInfo</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>phone</cmp-field-name>
+                        <table-column>phone</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>email</cmp-field-name>
+                        <table-column>email</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>givenName</cmp-field-name>
+                        <table-column>givenName</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>familyName</cmp-field-name>
+                        <table-column>familyName</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>contactInfoBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>ContactInfoBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>
+                    </cmp-field-mapping>
+                    <primkey-field>contactInfoBean_upk</primkey-field> 
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO ContactInfo VALUES(null,phone,email,givenName,familyName,null)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/Address</ref-name>
+                        <name>AddressBean</name>
+                    </ejb-local-ref>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>LodgingBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.LodgingLocalHome</jndi-name>
+                    <table-name>Lodging_Bean</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>startDate</cmp-field-name>
+                        <table-column>startDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>lodgingId</cmp-field-name>
+                        <table-column>lodgingId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>noNights</cmp-field-name>
+                        <table-column>noNights</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>endDate</cmp-field-name>
+                        <table-column>endDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>location</cmp-field-name>
+                        <table-column>location</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>noRooms</cmp-field-name>
+                        <table-column>noRooms</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>name</cmp-field-name>
+                        <table-column>name</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>pricePerNight</cmp-field-name>
+                        <table-column>pricePerNight</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>lodgingBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>LodgingBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter> 
+                    </cmp-field-mapping>
+                    <primkey-field>lodgingBean_upk</primkey-field>     
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO Lodging_Bean VALUES(null,startDate,lodgingId,noNights,endDate,location,noRooms,name,pricePerNight)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>CreditCardBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.CreditCardLocalHome</jndi-name>
+                    <table-name>CreditCard</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>cardNumber</cmp-field-name>
+                        <table-column>cardNumber</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>cardType</cmp-field-name>
+                        <table-column>cardType</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>cardExpiryDate</cmp-field-name>
+                        <table-column>cardExpiryDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>creditCardBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>CreditCardBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>
+                    </cmp-field-mapping>
+                    <primkey-field>creditCardBean_upk</primkey-field>
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO CreditCard VALUES(null,cardNumber,cardType,cardExpiryDate)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>PurchaseOrderBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.PurchaseOrderLocalHome</jndi-name>
+                    <table-name>PurchaseOrder</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>locale</cmp-field-name>
+                        <table-column>locale</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>totalPrice</cmp-field-name>
+                        <table-column>totalPrice</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>startDate</cmp-field-name>
+                        <table-column>startDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>userId</cmp-field-name>
+                        <table-column>userId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>departureCity</cmp-field-name>
+                        <table-column>departureCity</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>endDate</cmp-field-name>
+                        <table-column>endDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>orderDate</cmp-field-name>
+                        <table-column>orderDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>headCount</cmp-field-name>
+                        <table-column>headCount</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>poId</cmp-field-name>
+                        <table-column>poId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>emailId</cmp-field-name>
+                        <table-column>emailId</table-column>
+                    </cmp-field-mapping>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/CreditCard</ref-name>
+                        <name>CreditCardBean</name>
+                    </ejb-local-ref>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/ContactInfo</ref-name>
+                        <name>ContactInfoBean</name>
+                    </ejb-local-ref>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/Activity</ref-name>
+                        <name>ActivityBean</name>
+                    </ejb-local-ref>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/Lodging</ref-name>
+                        <name>LodgingBean</name>
+                    </ejb-local-ref>
+                    <ejb-local-ref>
+                        <ref-name>ejb/local/Transportation</ref-name>
+                        <name>TransportationBean</name>
+                    </ejb-local-ref>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>TransportationBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.TransportationLocalHome</jndi-name>
+                    <table-name>Transportation_Bean</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>transportationId</cmp-field-name>
+                        <table-column>transportationId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>departureDate</cmp-field-name>
+                        <table-column>departureDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>destination</cmp-field-name>
+                        <table-column>destination</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>travelClass</cmp-field-name>
+                        <table-column>travelClass</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>price</cmp-field-name>
+                        <table-column>price</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>carrier</cmp-field-name>
+                        <table-column>carrier</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>origin</cmp-field-name>
+                        <table-column>origin</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>departureTime</cmp-field-name>
+                        <table-column>departureTime</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>headCount</cmp-field-name>
+                        <table-column>headCount</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>transportationBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>TransportationBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>
+                    </cmp-field-mapping>
+                    <primkey-field>transportationBean_upk</primkey-field>    
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO Transportation_Bean VALUES(null,transportationId,departureDate,destination,travelClass,price,carrier,origin,departureTime,headCount)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <entity>
+                    <ejb-name>ActivityBean</ejb-name>
+                    <jndi-name>com.sun.j2ee.blueprints.opc.purchaseorder.ejb.ActivityLocalHome</jndi-name>
+                    <table-name>Activity_Bean</table-name>
+                    <cmp-field-mapping>
+                        <cmp-field-name>activityId</cmp-field-name>
+                        <table-column>activityId</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>startDate</cmp-field-name>
+                        <table-column>startDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>price</cmp-field-name>
+                        <table-column>price</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>endDate</cmp-field-name>
+                        <table-column>endDate</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>headCount</cmp-field-name>
+                        <table-column>headCount</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>location</cmp-field-name>
+                        <table-column>location</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>name</cmp-field-name>
+                        <table-column>name</table-column>
+                    </cmp-field-mapping>
+                    <cmp-field-mapping>
+                        <cmp-field-name>activityBean_upk</cmp-field-name>
+                        <cmp-field-class>java.lang.Integer</cmp-field-class>
+                        <table-column>ActivityBean_upk</table-column>
+                        <sql-type>INTEGER</sql-type>
+                        <type-converter>org.tranql.sql.typeconverter.SerializableConverter</type-converter>
+                    </cmp-field-mapping>
+                    <primkey-field>activityBean_upk</primkey-field>
+                    <key-generator>
+                        <auto-increment-table>
+                            <sql>INSERT INTO Activity_Bean VALUES(null,activityId,startDate,price,endDate,headCount,location,name,null)</sql>
+                            <return-type>java.lang.Integer</return-type>
+                        </auto-increment-table>
+                    </key-generator>
+                    <resource-ref>
+                        <ref-name>jdbc/adventure/AdventureDB</ref-name>
+                        <resource-link>AdventureDataSource</resource-link>
+                    </resource-ref>
+                </entity>
+                <message-driven>
+                    <ejb-name>CRMBean</ejb-name>     
+                    <resource-adapter>
+                        <resource-link>Adventure Builder JMS Resources</resource-link>
+                    </resource-adapter>    
+                    <activation-config>
+                        <activation-config-property>
+                            <activation-config-property-name>destination</activation-config-property-name>
+                            <activation-config-property-value>jms/opc/CRMQueue</activation-config-property-value>
+                        </activation-config-property>
+                        <activation-config-property>
+                            <activation-config-property-name>destinationType</activation-config-property-name>
+                            <activation-config-property-value>javax.jms.Queue</activation-config-property-value>
+                        </activation-config-property>
+                    </activation-config>
+                    <resource-ref>
+                        <ref-name>jms/opc/QueueConnectionFactory</ref-name>
+                        <resource-link>AdventureBuilderConnectionFactory</resource-link>
+                    </resource-ref>
+                </message-driven>
+            </enterprise-beans>
+            <relationships>
+                <ejb-relation> 
+                    <ejb-relation-name>ContactAddressRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>ContactInfoBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>ContactInfoBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>address</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>AddressBean_upk</key-column>
+                                <foreign-key-column>address</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation>  
+                    <ejb-relation-name>PurchaseTransportationRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>returnFlightInfo</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>TransportationBean_upk</key-column>
+                                <foreign-key-column>returnFlightInfo</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation>  
+                    <ejb-relation-name>PurchaseLodgingRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>lodging</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>LodgingBean_upk</key-column>
+                                <foreign-key-column>lodging</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation>  
+                    <ejb-relation-name>PurchaseActivityRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>activities</cmr-field-name>
+                        </cmr-field>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>poId</key-column>
+                                <foreign-key-column>PurchaseOrderBean_activities</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation> 
+                    <ejb-relation-name>PurchaseTransportationRelations1</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>departureFlightInfo</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>TransportationBean_upk</key-column>
+                                <foreign-key-column>departureFlightInfo</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation>
+                    <ejb-relation-name>PurchaseContactRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>billingInfo</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>ContactInfoBean_upk</key-column>
+                                <foreign-key-column>billingInfo</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation>  
+                    <ejb-relation-name>PurchaseContactRelations1</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>shippingInfo</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>ContactInfoBean_upk</key-column>
+                                <foreign-key-column>shippingInfo</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+                <ejb-relation> 
+                    <ejb-relation-name>PurchaseCreditRelations</ejb-relation-name>
+                    <ejb-relationship-role>
+                        <ejb-relationship-role-name>PurchaseOrderBean</ejb-relationship-role-name>
+                        <relationship-role-source>
+                            <ejb-name>PurchaseOrderBean</ejb-name>
+                        </relationship-role-source>
+                        <cmr-field>
+                            <cmr-field-name>creditCard</cmr-field-name>
+                        </cmr-field>
+                        <foreign-key-column-on-source/>
+                        <role-mapping>
+                            <cmr-field-mapping>
+                                <key-column>CreditCardBean_upk</key-column>
+                                <foreign-key-column>creditCard</foreign-key-column>
+                            </cmr-field-mapping>
+                        </role-mapping>       
+                    </ejb-relationship-role>
+                </ejb-relation>
+            </relationships>
+        </openejb-jar>
+    </module>
+    <gbean name="mail/MailSession" class="org.apache.geronimo.mail.MailGBean"/>
+    <gbean name="mail/MailSession" class="org.apache.geronimo.mail.SMTPTransportGBean">
+        <attribute name="host">10.0.0.1</attribute>
+        <attribute name="port">25</attribute>
+    </gbean>
+</application>

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: geronimo/trunk/sandbox/adventurebuilder/src/plan/opc1.0.3.ear-plan.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message