User: starksm
Date: 02/04/17 12:05:35
Modified: src/resources/bank/META-INF Tag: Branch_2_4 ejb-jar.xml
jboss.xml
Removed: src/resources/bank/META-INF Tag: Branch_2_4 jaws.xml
Log:
Remove the unnecessary jaws.xml descriptor and go to CMT
Revision Changes Path
No revision
No revision
1.2.2.1 +131 -107 jbosstest/src/resources/bank/META-INF/ejb-jar.xml
Index: ejb-jar.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/resources/bank/META-INF/ejb-jar.xml,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- ejb-jar.xml 30 Sep 2000 01:01:02 -0000 1.2
+++ ejb-jar.xml 17 Apr 2002 19:05:35 -0000 1.2.2.1
@@ -1,109 +1,133 @@
-<?xml version="1.0" encoding="Cp1252"?>
+<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar>
- <description>jBoss test application </description>
- <display-name>Test</display-name>
- <enterprise-beans>
- <session>
- <ejb-name>Teller</ejb-name>
- <home>org.jboss.test.bank.interfaces.TellerHome</home>
- <remote>org.jboss.test.bank.interfaces.Teller</remote>
- <ejb-class>org.jboss.test.bank.ejb.TellerBean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Bean</transaction-type>
- <ejb-ref>
- <ejb-ref-name>ejb/Bank</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>org.jboss.test.bank.interfaces.BankHome</home>
- <remote>org.jboss.test.bank.interfaces.Bank</remote>
- <ejb-link>Bank</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <ejb-ref-name>ejb/Account</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>org.jboss.test.bank.interfaces.AccountHome</home>
- <remote>org.jboss.test.bank.interfaces.Account</remote>
- <ejb-link>Account</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <ejb-ref-name>ejb/Customer</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>org.jboss.test.bank.interfaces.CustomerHome</home>
- <remote>org.jboss.test.bank.interfaces.Customer</remote>
- <ejb-link>Customer</ejb-link>
- </ejb-ref>
- </session>
- <session>
- <ejb-name>Bank</ejb-name>
- <home>org.jboss.test.bank.interfaces.BankHome</home>
- <remote>org.jboss.test.bank.interfaces.Bank</remote>
- <ejb-class>org.jboss.test.bank.ejb.BankBean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Bean</transaction-type>
- <env-entry>
- <env-entry-name>id</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>5678</env-entry-value>
- </env-entry>
- </session>
- <entity>
- <display-name>Customer EJB</display-name>
- <ejb-name>Customer</ejb-name>
- <home>org.jboss.test.bank.interfaces.CustomerHome</home>
- <remote>org.jboss.test.bank.interfaces.Customer</remote>
- <ejb-class>org.jboss.test.bank.ejb.CustomerBean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>org.jboss.test.bank.interfaces.CustomerPK</prim-key-class>
- <reentrant>True</reentrant>
- <cmp-field>
- <description>Customer Id</description>
- <field-name>id</field-name>
- </cmp-field>
- <cmp-field>
- <description>Customer name</description>
- <field-name>name</field-name>
- </cmp-field>
- <cmp-field>
- <description>Accounts</description>
- <field-name>accounts</field-name>
- </cmp-field>
- <ejb-ref>
- <ejb-ref-name>ejb/Account</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>org.jboss.test.bank.interfaces.AccountHome</home>
- <remote>org.jboss.test.bank.interfaces.Account</remote>
- <ejb-link>Account</ejb-link>
- </ejb-ref>
- </entity>
- <entity>
- <display-name>Account EJB</display-name>
- <ejb-name>Account</ejb-name>
- <home>org.jboss.test.bank.interfaces.AccountHome</home>
- <remote>org.jboss.test.bank.interfaces.Account</remote>
- <ejb-class>org.jboss.test.bank.ejb.AccountBeanCMP</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <cmp-field>
- <description>Account Id</description>
- <field-name>id</field-name>
- </cmp-field>
- <cmp-field>
- <description>Account owner name</description>
- <field-name>owner</field-name>
- </cmp-field>
- <cmp-field>
- <description>Account balance</description>
- <field-name>balance</field-name>
- </cmp-field>
- <primkey-field>id</primkey-field>
- <ejb-ref>
- <ejb-ref-name>ejb/Customer</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>org.jboss.test.bank.interfaces.CustomerHome</home>
- <remote>org.jboss.test.bank.interfaces.Customer</remote>
- <ejb-link>Customer</ejb-link>
- </ejb-ref>
- </entity>
- </enterprise-beans>
- </ejb-jar>
+ <description>jBoss test application </description>
+ <display-name>Test</display-name>
+ <enterprise-beans>
+ <session>
+ <ejb-name>Teller</ejb-name>
+ <home>org.jboss.test.bank.interfaces.TellerHome</home>
+ <remote>org.jboss.test.bank.interfaces.Teller</remote>
+ <ejb-class>org.jboss.test.bank.ejb.TellerBean</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Bank</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <home>org.jboss.test.bank.interfaces.BankHome</home>
+ <remote>org.jboss.test.bank.interfaces.Bank</remote>
+ <ejb-link>Bank</ejb-link>
+ </ejb-ref>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Account</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <home>org.jboss.test.bank.interfaces.AccountHome</home>
+ <remote>org.jboss.test.bank.interfaces.Account</remote>
+ <ejb-link>Account</ejb-link>
+ </ejb-ref>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Customer</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <home>org.jboss.test.bank.interfaces.CustomerHome</home>
+ <remote>org.jboss.test.bank.interfaces.Customer</remote>
+ <ejb-link>Customer</ejb-link>
+ </ejb-ref>
+ </session>
+ <session>
+ <ejb-name>Bank</ejb-name>
+ <home>org.jboss.test.bank.interfaces.BankHome</home>
+ <remote>org.jboss.test.bank.interfaces.Bank</remote>
+ <ejb-class>org.jboss.test.bank.ejb.BankBean</ejb-class>
+ <session-type>Stateless</session-type>
+ <transaction-type>Container</transaction-type>
+ <env-entry>
+ <env-entry-name>id</env-entry-name>
+ <env-entry-type>java.lang.String</env-entry-type>
+ <env-entry-value>5678</env-entry-value>
+ </env-entry>
+ </session>
+
+ <entity>
+ <display-name>Customer EJB</display-name>
+ <ejb-name>Customer</ejb-name>
+ <home>org.jboss.test.bank.interfaces.CustomerHome</home>
+ <remote>org.jboss.test.bank.interfaces.Customer</remote>
+ <ejb-class>org.jboss.test.bank.ejb.CustomerBean</ejb-class>
+ <persistence-type>Container</persistence-type>
+ <prim-key-class>org.jboss.test.bank.interfaces.CustomerPK</prim-key-class>
+ <reentrant>True</reentrant>
+ <cmp-field>
+ <description>Customer Id</description>
+ <field-name>id</field-name>
+ </cmp-field>
+ <cmp-field>
+ <description>Customer name</description>
+ <field-name>name</field-name>
+ </cmp-field>
+ <cmp-field>
+ <description>Accounts</description>
+ <field-name>accounts</field-name>
+ </cmp-field>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Account</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <home>org.jboss.test.bank.interfaces.AccountHome</home>
+ <remote>org.jboss.test.bank.interfaces.Account</remote>
+ <ejb-link>Account</ejb-link>
+ </ejb-ref>
+ </entity>
+ <entity>
+ <display-name>Account EJB</display-name>
+ <ejb-name>Account</ejb-name>
+ <home>org.jboss.test.bank.interfaces.AccountHome</home>
+ <remote>org.jboss.test.bank.interfaces.Account</remote>
+ <ejb-class>org.jboss.test.bank.ejb.AccountBeanCMP</ejb-class>
+ <persistence-type>Container</persistence-type>
+ <prim-key-class>java.lang.String</prim-key-class>
+ <reentrant>True</reentrant>
+ <cmp-field>
+ <description>Account Id</description>
+ <field-name>id</field-name>
+ </cmp-field>
+ <cmp-field>
+ <description>Account owner name</description>
+ <field-name>owner</field-name>
+ </cmp-field>
+ <cmp-field>
+ <description>Account balance</description>
+ <field-name>balance</field-name>
+ </cmp-field>
+ <primkey-field>id</primkey-field>
+ <ejb-ref>
+ <ejb-ref-name>ejb/Customer</ejb-ref-name>
+ <ejb-ref-type>Entity</ejb-ref-type>
+ <home>org.jboss.test.bank.interfaces.CustomerHome</home>
+ <remote>org.jboss.test.bank.interfaces.Customer</remote>
+ <ejb-link>Customer</ejb-link>
+ </ejb-ref>
+ </entity>
+ </enterprise-beans>
+
+ <assembly-descriptor>
+ <container-transaction>
+ <method>
+ <ejb-name>Account</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ <method>
+ <ejb-name>Bank</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ <method>
+ <ejb-name>Customer</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ <method>
+ <ejb-name>Teller</ejb-name>
+ <method-name>*</method-name>
+ </method>
+ <trans-attribute>Required</trans-attribute>
+ </container-transaction>
+ </assembly-descriptor>
+
+</ejb-jar>
1.3.2.1 +1 -1 jbosstest/src/resources/bank/META-INF/jboss.xml
Index: jboss.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/src/resources/bank/META-INF/jboss.xml,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -r1.3 -r1.3.2.1
--- jboss.xml 30 Sep 2000 01:01:02 -0000 1.3
+++ jboss.xml 17 Apr 2002 19:05:35 -0000 1.3.2.1
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="Cp1252"?>
+<?xml version="1.0" encoding="UTF-8"?>
<jboss>
<enterprise-beans>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development