cmpJAR.ejbgrpx~1~
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:36k
源码类别:

Java编程

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <descriptors>
  3.   <ejb-jar.xml extralocation="" timestamp="1055859912618"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  4. <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
  5. <ejb-jar>
  6.     <enterprise-beans>
  7.         <entity>
  8.             <display-name>Address</display-name>
  9.             <ejb-name>Address</ejb-name>
  10.             <local-home>cmpsample.AddressHome</local-home>
  11.             <local>cmpsample.Address</local>
  12.             <ejb-class>cmpsample.AddressBean</ejb-class>
  13.             <persistence-type>Container</persistence-type>
  14.             <prim-key-class>java.lang.String</prim-key-class>
  15.             <reentrant>False</reentrant>
  16.             <cmp-version>2.x</cmp-version>
  17.             <abstract-schema-name>Address</abstract-schema-name>
  18.             <cmp-field>
  19.                 <field-name>addressID</field-name>
  20.             </cmp-field>
  21.             <cmp-field>
  22.                 <field-name>street</field-name>
  23.             </cmp-field>
  24.             <cmp-field>
  25.                 <field-name>city</field-name>
  26.             </cmp-field>
  27.             <cmp-field>
  28.                 <field-name>zip</field-name>
  29.             </cmp-field>
  30.             <cmp-field>
  31.                 <field-name>state</field-name>
  32.             </cmp-field>
  33.             <cmp-field>
  34.                 <field-name>studentID</field-name>
  35.             </cmp-field>
  36.             <primkey-field>addressID</primkey-field>
  37.         </entity>
  38.         <entity>
  39.             <display-name>Roster</display-name>
  40.             <ejb-name>Roster</ejb-name>
  41.             <local-home>cmpsample.RosterHome</local-home>
  42.             <local>cmpsample.Roster</local>
  43.             <ejb-class>cmpsample.RosterBean</ejb-class>
  44.             <persistence-type>Container</persistence-type>
  45.             <prim-key-class>java.lang.String</prim-key-class>
  46.             <reentrant>False</reentrant>
  47.             <cmp-version>2.x</cmp-version>
  48.             <abstract-schema-name>Roster</abstract-schema-name>
  49.             <cmp-field>
  50.                 <field-name>rosterID</field-name>
  51.             </cmp-field>
  52.             <cmp-field>
  53.                 <field-name>studentID</field-name>
  54.             </cmp-field>
  55.             <cmp-field>
  56.                 <field-name>scheduleID</field-name>
  57.             </cmp-field>
  58.             <primkey-field>rosterID</primkey-field>
  59.             <query>
  60.                 <query-method>
  61.                     <method-name>findByStudentID</method-name>
  62.                     <method-params>
  63.                         <method-param>java.lang.String</method-param>
  64.                     </method-params>
  65.                 </query-method>
  66.                 <ejb-ql>SELECT OBJECT(r) FROM Roster AS r WHERE r.studentID = ?1</ejb-ql>
  67.             </query>
  68.             <query>
  69.                 <query-method>
  70.                     <method-name>findByScheduleID</method-name>
  71.                     <method-params>
  72.                         <method-param>java.lang.String</method-param>
  73.                     </method-params>
  74.                 </query-method>
  75.                 <ejb-ql>SELECT OBJECT(r) FROM Roster AS r WHERE r.scheduleID = ?1</ejb-ql>
  76.             </query>
  77.         </entity>
  78.         <entity>
  79.             <display-name>Student</display-name>
  80.             <ejb-name>Student</ejb-name>
  81.             <local-home>cmpsample.StudentHome</local-home>
  82.             <local>cmpsample.Student</local>
  83.             <ejb-class>cmpsample.StudentBean</ejb-class>
  84.             <persistence-type>Container</persistence-type>
  85.             <prim-key-class>java.lang.String</prim-key-class>
  86.             <reentrant>False</reentrant>
  87.             <cmp-version>2.x</cmp-version>
  88.             <abstract-schema-name>Student</abstract-schema-name>
  89.             <cmp-field>
  90.                 <field-name>studentID</field-name>
  91.             </cmp-field>
  92.             <cmp-field>
  93.                 <field-name>firstname</field-name>
  94.             </cmp-field>
  95.             <cmp-field>
  96.                 <field-name>lastname</field-name>
  97.             </cmp-field>
  98.             <primkey-field>studentID</primkey-field>
  99.             <query>
  100.                 <query-method>
  101.                     <method-name>findByFirstName</method-name>
  102.                     <method-params>
  103.                         <method-param>java.lang.String</method-param>
  104.                     </method-params>
  105.                 </query-method>
  106.                 <ejb-ql>SELECT OBJECT(s) FROM Student AS s WHERE s.firstname = ?1</ejb-ql>
  107.             </query>
  108.             <query>
  109.                 <query-method>
  110.                     <method-name>findByLastName</method-name>
  111.                     <method-params>
  112.                         <method-param>java.lang.String</method-param>
  113.                     </method-params>
  114.                 </query-method>
  115.                 <ejb-ql>SELECT OBJECT(s) FROM Student AS s WHERE s.lastname = ?1</ejb-ql>
  116.             </query>
  117.         </entity>
  118.     </enterprise-beans>
  119.     <relationships>
  120.         <ejb-relation>
  121.             <ejb-relation-name>student-address</ejb-relation-name>
  122.             <ejb-relationship-role>
  123.                 <description>student</description>
  124.                 <ejb-relationship-role-name>StudentRelationshipRole</ejb-relationship-role-name>
  125.                 <multiplicity>One</multiplicity>
  126.                 <relationship-role-source>
  127.                     <description>student</description>
  128.                     <ejb-name>Student</ejb-name>
  129.                 </relationship-role-source>
  130.                 <cmr-field>
  131.                     <description>address</description>
  132.                     <cmr-field-name>address</cmr-field-name>
  133.                     <cmr-field-type>java.util.Collection</cmr-field-type>
  134.                 </cmr-field>
  135.             </ejb-relationship-role>
  136.             <ejb-relationship-role>
  137.                 <description>address</description>
  138.                 <ejb-relationship-role-name>AddressRelationshipRole</ejb-relationship-role-name>
  139.                 <multiplicity>Many</multiplicity>
  140.                 <relationship-role-source>
  141.                     <description>address</description>
  142.                     <ejb-name>Address</ejb-name>
  143.                 </relationship-role-source>
  144.             </ejb-relationship-role>
  145.         </ejb-relation>
  146.         <ejb-relation>
  147.             <ejb-relation-name>student-roster</ejb-relation-name>
  148.             <ejb-relationship-role>
  149.                 <description>student</description>
  150.                 <ejb-relationship-role-name>StudentRelationshipRole</ejb-relationship-role-name>
  151.                 <multiplicity>One</multiplicity>
  152.                 <relationship-role-source>
  153.                     <description>student</description>
  154.                     <ejb-name>Student</ejb-name>
  155.                 </relationship-role-source>
  156.                 <cmr-field>
  157.                     <description>roster</description>
  158.                     <cmr-field-name>roster</cmr-field-name>
  159.                     <cmr-field-type>java.util.Collection</cmr-field-type>
  160.                 </cmr-field>
  161.             </ejb-relationship-role>
  162.             <ejb-relationship-role>
  163.                 <description>roster</description>
  164.                 <ejb-relationship-role-name>RosterRelationshipRole</ejb-relationship-role-name>
  165.                 <multiplicity>Many</multiplicity>
  166.                 <relationship-role-source>
  167.                     <description>roster</description>
  168.                     <ejb-name>Roster</ejb-name>
  169.                 </relationship-role-source>
  170.             </ejb-relationship-role>
  171.         </ejb-relation>
  172.     </relationships>
  173.     <assembly-descriptor>
  174.         <container-transaction>
  175.             <method>
  176.                 <ejb-name>Roster</ejb-name>
  177.                 <method-name>*</method-name>
  178.             </method>
  179.             <trans-attribute>Required</trans-attribute>
  180.         </container-transaction>
  181.         <container-transaction>
  182.             <method>
  183.                 <ejb-name>Student</ejb-name>
  184.                 <method-name>*</method-name>
  185.             </method>
  186.             <trans-attribute>Required</trans-attribute>
  187.         </container-transaction>
  188.         <container-transaction>
  189.             <method>
  190.                 <description />
  191.                 <ejb-name>Address</ejb-name>
  192.                 <method-name>*</method-name>
  193.             </method>
  194.             <trans-attribute>Required</trans-attribute>
  195.         </container-transaction>
  196.     </assembly-descriptor>
  197. </ejb-jar>]]></ejb-jar.xml>
  198.   <ejb-borland.xml extralocation="" timestamp="1055859912618"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  199. <!DOCTYPE ejb-jar PUBLIC "-//Borland Software Corporation//DTD Enterprise JavaBeans 2.0//EN" "http://www.borland.com/devsupport/appserver/dtds/ejb-jar_2_0-borland.dtd">
  200. <ejb-jar>
  201.     <enterprise-beans>
  202.         <entity>
  203.             <ejb-name>Address</ejb-name>
  204.             <bean-local-home-name>Address</bean-local-home-name>
  205.             <cmp2-info>
  206.                 <cmp-field>
  207.                     <field-name>addressID</field-name>
  208.                     <column-name>addressID</column-name>
  209.                 </cmp-field>
  210.                 <cmp-field>
  211.                     <field-name>street</field-name>
  212.                     <column-name>street</column-name>
  213.                 </cmp-field>
  214.                 <cmp-field>
  215.                     <field-name>city</field-name>
  216.                     <column-name>city</column-name>
  217.                 </cmp-field>
  218.                 <cmp-field>
  219.                     <field-name>zip</field-name>
  220.                     <column-name>zip</column-name>
  221.                 </cmp-field>
  222.                 <cmp-field>
  223.                     <field-name>state</field-name>
  224.                     <column-name>state</column-name>
  225.                 </cmp-field>
  226.                 <cmp-field>
  227.                     <field-name>studentID</field-name>
  228.                     <column-name>studentID</column-name>
  229.                 </cmp-field>
  230.                 <table-name>address</table-name>
  231.             </cmp2-info>
  232.             <property>
  233.                 <prop-name>data-source-name</prop-name>
  234.                 <prop-type>String</prop-type>
  235.                 <prop-value>cmpDS</prop-value>
  236.             </property>
  237.             <property>
  238.                 <prop-name>ejb-designer-id</prop-name>
  239.                 <prop-type>String</prop-type>
  240.                 <prop-value>Address</prop-value>
  241.             </property>
  242.         </entity>
  243.         <entity>
  244.             <ejb-name>Roster</ejb-name>
  245.             <bean-local-home-name>Roster</bean-local-home-name>
  246.             <cmp2-info>
  247.                 <cmp-field>
  248.                     <field-name>rosterID</field-name>
  249.                     <column-name>rosterID</column-name>
  250.                 </cmp-field>
  251.                 <cmp-field>
  252.                     <field-name>studentID</field-name>
  253.                     <column-name>studentID</column-name>
  254.                 </cmp-field>
  255.                 <cmp-field>
  256.                     <field-name>scheduleID</field-name>
  257.                     <column-name>scheduleID</column-name>
  258.                 </cmp-field>
  259.                 <table-name>roster</table-name>
  260.             </cmp2-info>
  261.             <property>
  262.                 <prop-name>data-source-name</prop-name>
  263.                 <prop-type>String</prop-type>
  264.                 <prop-value>cmpDS</prop-value>
  265.             </property>
  266.             <property>
  267.                 <prop-name>ejb-designer-id</prop-name>
  268.                 <prop-type>String</prop-type>
  269.                 <prop-value>Roster</prop-value>
  270.             </property>
  271.         </entity>
  272.         <entity>
  273.             <ejb-name>Student</ejb-name>
  274.             <bean-local-home-name>Student</bean-local-home-name>
  275.             <cmp2-info>
  276.                 <cmp-field>
  277.                     <field-name>studentID</field-name>
  278.                     <column-name>studentID</column-name>
  279.                 </cmp-field>
  280.                 <cmp-field>
  281.                     <field-name>firstname</field-name>
  282.                     <column-name>firstname</column-name>
  283.                 </cmp-field>
  284.                 <cmp-field>
  285.                     <field-name>lastname</field-name>
  286.                     <column-name>lastname</column-name>
  287.                 </cmp-field>
  288.                 <table-name>student</table-name>
  289.             </cmp2-info>
  290.             <property>
  291.                 <prop-name>data-source-name</prop-name>
  292.                 <prop-type>String</prop-type>
  293.                 <prop-value>cmpDS</prop-value>
  294.             </property>
  295.             <property>
  296.                 <prop-name>ejb-designer-id</prop-name>
  297.                 <prop-type>String</prop-type>
  298.                 <prop-value>Student</prop-value>
  299.             </property>
  300.         </entity>
  301.     </enterprise-beans>
  302.     <table-properties>
  303.         <table-name>address</table-name>
  304.         <column-properties>
  305.             <column-name>addressID</column-name>
  306.         </column-properties>
  307.         <column-properties>
  308.             <column-name>street</column-name>
  309.         </column-properties>
  310.         <column-properties>
  311.             <column-name>city</column-name>
  312.         </column-properties>
  313.         <column-properties>
  314.             <column-name>zip</column-name>
  315.         </column-properties>
  316.         <column-properties>
  317.             <column-name>state</column-name>
  318.         </column-properties>
  319.         <column-properties>
  320.             <column-name>studentID</column-name>
  321.         </column-properties>
  322.         <property>
  323.             <prop-name>datasource</prop-name>
  324.             <prop-type>String</prop-type>
  325.             <prop-value>serial://datasources/cmpDS</prop-value>
  326.         </property>
  327.     </table-properties>
  328.     <table-properties>
  329.         <table-name>roster</table-name>
  330.         <column-properties>
  331.             <column-name>rosterID</column-name>
  332.         </column-properties>
  333.         <column-properties>
  334.             <column-name>studentID</column-name>
  335.         </column-properties>
  336.         <column-properties>
  337.             <column-name>scheduleID</column-name>
  338.         </column-properties>
  339.         <property>
  340.             <prop-name>datasource</prop-name>
  341.             <prop-type>String</prop-type>
  342.             <prop-value>serial://datasources/cmpDS</prop-value>
  343.         </property>
  344.     </table-properties>
  345.     <table-properties>
  346.         <table-name>student</table-name>
  347.         <column-properties>
  348.             <column-name>studentID</column-name>
  349.         </column-properties>
  350.         <column-properties>
  351.             <column-name>firstname</column-name>
  352.         </column-properties>
  353.         <column-properties>
  354.             <column-name>lastname</column-name>
  355.         </column-properties>
  356.         <property>
  357.             <prop-name>datasource</prop-name>
  358.             <prop-type>String</prop-type>
  359.             <prop-value>serial://datasources/cmpDS</prop-value>
  360.         </property>
  361.     </table-properties>
  362.     <relationships>
  363.         <ejb-relation>
  364.             <ejb-relationship-role>
  365.                 <relationship-role-source>
  366.                     <ejb-name>Student</ejb-name>
  367.                 </relationship-role-source>
  368.                 <cmr-field>
  369.                     <cmr-field-name>address</cmr-field-name>
  370.                     <table-ref>
  371.                         <left-table>
  372.                             <table-name>student</table-name>
  373.                             <column-list>
  374.                                 <column-name>studentID</column-name>
  375.                             </column-list>
  376.                         </left-table>
  377.                         <right-table>
  378.                             <table-name>address</table-name>
  379.                             <column-list>
  380.                                 <column-name>studentID</column-name>
  381.                             </column-list>
  382.                         </right-table>
  383.                     </table-ref>
  384.                 </cmr-field>
  385.             </ejb-relationship-role>
  386.             <ejb-relationship-role>
  387.                 <relationship-role-source>
  388.                     <ejb-name>Address</ejb-name>
  389.                 </relationship-role-source>
  390.             </ejb-relationship-role>
  391.         </ejb-relation>
  392.         <ejb-relation>
  393.             <ejb-relationship-role>
  394.                 <relationship-role-source>
  395.                     <ejb-name>Student</ejb-name>
  396.                 </relationship-role-source>
  397.                 <cmr-field>
  398.                     <cmr-field-name>roster</cmr-field-name>
  399.                     <table-ref>
  400.                         <left-table>
  401.                             <table-name>student</table-name>
  402.                             <column-list>
  403.                                 <column-name>studentID</column-name>
  404.                             </column-list>
  405.                         </left-table>
  406.                         <right-table>
  407.                             <table-name>roster</table-name>
  408.                             <column-list>
  409.                                 <column-name>studentID</column-name>
  410.                             </column-list>
  411.                         </right-table>
  412.                     </table-ref>
  413.                 </cmr-field>
  414.             </ejb-relationship-role>
  415.             <ejb-relationship-role>
  416.                 <relationship-role-source>
  417.                     <ejb-name>Roster</ejb-name>
  418.                 </relationship-role-source>
  419.             </ejb-relationship-role>
  420.         </ejb-relation>
  421.     </relationships>
  422.     <assembly-descriptor />
  423. </ejb-jar>]]></ejb-borland.xml>
  424.   <ejb-modeler-schema.xml extralocation="" timestamp="1055859912598"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  425. <schema-root-node name="DataSources" node-type="0" status="0">
  426.   <schema-connection-node name="cmpDS" node-type="4" status="0" catalog="null-object" connection-type="0" data-source-name="null-object" driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" file="null-object" password="sa" sql-schema="null-object" url="jdbc:microsoft:sqlserver://tsinghuacwj:1433;DatabaseName=cwj;User=sa;Password=sa" use-data-source="false" username="sa" all-schemas="true" all-views="false">
  427.     <schema-table-node name="address" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://tsinghuacwj:1433;DatabaseName=cwj;User=sa;Password=sa" sql-schema="null-object">
  428.       <schema-column-node name="addressID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="1" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  429.       <schema-column-node name="street" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="2" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  430.       <schema-column-node name="city" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="3" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  431.       <schema-column-node name="zip" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="4" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  432.       <schema-column-node name="state" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="5" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  433.       <schema-column-node name="studentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="6" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  434.     </schema-table-node>
  435.     <schema-table-node name="dtproperties" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://tsinghuacwj:1433;DatabaseName=cwj;User=sa;Password=sa" sql-schema="null-object">
  436.       <schema-column-node name="id" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.Integer" java-sql-type="4" ordinal="1" precision="-1" scale="-1" vendor-type-name="int identity" is-primary-key="true" />
  437.       <schema-column-node name="objectid" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.Integer" java-sql-type="4" ordinal="2" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  438.       <schema-column-node name="property" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="3" precision="64" scale="-1" vendor-type-name="varchar" is-primary-key="true" />
  439.       <schema-column-node name="value" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="4" precision="255" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  440.       <schema-column-node name="uvalue" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="5" precision="255" scale="-1" vendor-type-name="nvarchar" is-primary-key="false" />
  441.       <schema-column-node name="lvalue" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="byte[]" java-sql-type="-4" ordinal="6" precision="-1" scale="-1" vendor-type-name="image" is-primary-key="false" />
  442.       <schema-column-node name="version" node-type="2" status="0" col-default="(0)" is-nullable="NO " java-class="java.lang.Integer" java-sql-type="4" ordinal="7" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  443.     </schema-table-node>
  444.     <schema-table-node name="roster" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://tsinghuacwj:1433;DatabaseName=cwj;User=sa;Password=sa" sql-schema="null-object">
  445.       <schema-column-node name="rosterID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="1" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  446.       <schema-column-node name="studentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="2" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  447.       <schema-column-node name="scheduleID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="3" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  448.     </schema-table-node>
  449.     <schema-table-node name="student" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://tsinghuacwj:1433;DatabaseName=cwj;User=sa;Password=sa" sql-schema="null-object">
  450.       <schema-column-node name="studentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-class="java.lang.String" java-sql-type="12" ordinal="1" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  451.       <schema-column-node name="firstname" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="2" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  452.       <schema-column-node name="lastname" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-class="java.lang.String" java-sql-type="12" ordinal="3" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  453.     </schema-table-node>
  454.   </schema-connection-node>
  455. </schema-root-node>]]></ejb-modeler-schema.xml>
  456.   <ejb-modeler-layout.xml extralocation="" timestamp="1055859912598"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  457. <layout>
  458.   <view>
  459.     <name>Default</name>
  460.     <ejb>
  461.       <name>Student</name>
  462.       <x>244</x>
  463.       <y>39</y>
  464.       <width>130</width>
  465.       <height>353</height>
  466.     </ejb>
  467.     <ejb>
  468.       <name>Address</name>
  469.       <x>26</x>
  470.       <y>25</y>
  471.       <width>130</width>
  472.       <height>258</height>
  473.     </ejb>
  474.     <ejb>
  475.       <name>Roster</name>
  476.       <x>474</x>
  477.       <y>27</y>
  478.       <width>130</width>
  479.       <height>294</height>
  480.     </ejb>
  481.   </view>
  482. </layout>]]></ejb-modeler-layout.xml>
  483.   <weblogic-cmp-extras.xml extralocation="" timestamp="1055859912608"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  484. <weblogic-rdbms-jar>
  485.   <weblogic-rdbms-bean>
  486.     <ejb-name>Address</ejb-name>
  487.     <data-source-name>cmpDS</data-source-name>
  488.     <table-name>address</table-name>
  489.     <field-map>
  490.       <cmp-field>addressID</cmp-field>
  491.       <dbms-column>addressID</dbms-column>
  492.     </field-map>
  493.     <field-map>
  494.       <cmp-field>street</cmp-field>
  495.       <dbms-column>street</dbms-column>
  496.     </field-map>
  497.     <field-map>
  498.       <cmp-field>city</cmp-field>
  499.       <dbms-column>city</dbms-column>
  500.     </field-map>
  501.     <field-map>
  502.       <cmp-field>zip</cmp-field>
  503.       <dbms-column>zip</dbms-column>
  504.     </field-map>
  505.     <field-map>
  506.       <cmp-field>state</cmp-field>
  507.       <dbms-column>state</dbms-column>
  508.     </field-map>
  509.     <field-map>
  510.       <cmp-field>studentID</cmp-field>
  511.       <dbms-column>studentID</dbms-column>
  512.     </field-map>
  513.     <table-map>
  514.       <table-name>address</table-name>
  515.       <field-map>
  516.         <cmp-field>addressID</cmp-field>
  517.         <dbms-column>addressID</dbms-column>
  518.       </field-map>
  519.       <field-map>
  520.         <cmp-field>street</cmp-field>
  521.         <dbms-column>street</dbms-column>
  522.       </field-map>
  523.       <field-map>
  524.         <cmp-field>city</cmp-field>
  525.         <dbms-column>city</dbms-column>
  526.       </field-map>
  527.       <field-map>
  528.         <cmp-field>zip</cmp-field>
  529.         <dbms-column>zip</dbms-column>
  530.       </field-map>
  531.       <field-map>
  532.         <cmp-field>state</cmp-field>
  533.         <dbms-column>state</dbms-column>
  534.       </field-map>
  535.       <field-map>
  536.         <cmp-field>studentID</cmp-field>
  537.         <dbms-column>studentID</dbms-column>
  538.       </field-map>
  539.     </table-map>
  540.   </weblogic-rdbms-bean>
  541.   <weblogic-rdbms-bean>
  542.     <ejb-name>Roster</ejb-name>
  543.     <data-source-name>cmpDS</data-source-name>
  544.     <table-name>roster</table-name>
  545.     <field-map>
  546.       <cmp-field>rosterID</cmp-field>
  547.       <dbms-column>rosterID</dbms-column>
  548.     </field-map>
  549.     <field-map>
  550.       <cmp-field>studentID</cmp-field>
  551.       <dbms-column>studentID</dbms-column>
  552.     </field-map>
  553.     <field-map>
  554.       <cmp-field>scheduleID</cmp-field>
  555.       <dbms-column>scheduleID</dbms-column>
  556.     </field-map>
  557.     <table-map>
  558.       <table-name>roster</table-name>
  559.       <field-map>
  560.         <cmp-field>rosterID</cmp-field>
  561.         <dbms-column>rosterID</dbms-column>
  562.       </field-map>
  563.       <field-map>
  564.         <cmp-field>studentID</cmp-field>
  565.         <dbms-column>studentID</dbms-column>
  566.       </field-map>
  567.       <field-map>
  568.         <cmp-field>scheduleID</cmp-field>
  569.         <dbms-column>scheduleID</dbms-column>
  570.       </field-map>
  571.     </table-map>
  572.   </weblogic-rdbms-bean>
  573.   <weblogic-rdbms-bean>
  574.     <ejb-name>Student</ejb-name>
  575.     <data-source-name>cmpDS</data-source-name>
  576.     <table-name>student</table-name>
  577.     <field-map>
  578.       <cmp-field>studentID</cmp-field>
  579.       <dbms-column>studentID</dbms-column>
  580.     </field-map>
  581.     <field-map>
  582.       <cmp-field>firstname</cmp-field>
  583.       <dbms-column>firstname</dbms-column>
  584.     </field-map>
  585.     <field-map>
  586.       <cmp-field>lastname</cmp-field>
  587.       <dbms-column>lastname</dbms-column>
  588.     </field-map>
  589.     <table-map>
  590.       <table-name>student</table-name>
  591.       <field-map>
  592.         <cmp-field>studentID</cmp-field>
  593.         <dbms-column>studentID</dbms-column>
  594.       </field-map>
  595.       <field-map>
  596.         <cmp-field>firstname</cmp-field>
  597.         <dbms-column>firstname</dbms-column>
  598.       </field-map>
  599.       <field-map>
  600.         <cmp-field>lastname</cmp-field>
  601.         <dbms-column>lastname</dbms-column>
  602.       </field-map>
  603.     </table-map>
  604.   </weblogic-rdbms-bean>
  605.   <weblogic-rdbms-relation>
  606.     <relation-name>student-address</relation-name>
  607.     <weblogic-relationship-role>
  608.       <relationship-role-name>AddressRelationshipRole</relationship-role-name>
  609.       <column-map>
  610.         <foreign-key-column>studentID</foreign-key-column>
  611.         <key-column>studentID</key-column>
  612.       </column-map>
  613.       <relationship-role-map>
  614.         <foreign-key-table>address</foreign-key-table>
  615.         <primary-key-table>student</primary-key-table>
  616.         <column-map>
  617.           <foreign-key-column>studentID</foreign-key-column>
  618.           <key-column>studentID</key-column>
  619.         </column-map>
  620.       </relationship-role-map>
  621.     </weblogic-relationship-role>
  622.   </weblogic-rdbms-relation>
  623.   <weblogic-rdbms-relation>
  624.     <relation-name>student-roster</relation-name>
  625.     <weblogic-relationship-role>
  626.       <relationship-role-name>RosterRelationshipRole</relationship-role-name>
  627.       <column-map>
  628.         <foreign-key-column>studentID</foreign-key-column>
  629.         <key-column>studentID</key-column>
  630.       </column-map>
  631.       <relationship-role-map>
  632.         <foreign-key-table>roster</foreign-key-table>
  633.         <primary-key-table>student</primary-key-table>
  634.         <column-map>
  635.           <foreign-key-column>studentID</foreign-key-column>
  636.           <key-column>studentID</key-column>
  637.         </column-map>
  638.       </relationship-role-map>
  639.     </weblogic-relationship-role>
  640.   </weblogic-rdbms-relation>
  641. </weblogic-rdbms-jar>]]></weblogic-cmp-extras.xml>
  642.   <weblogic-ejb-jar.xml extralocation="" timestamp="1055860720970"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  643. <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
  644. <weblogic-ejb-jar>
  645.     <weblogic-enterprise-bean>
  646.         <ejb-name>Address</ejb-name>
  647.         <entity-descriptor>
  648.             <persistence>
  649.                 <persistence-use>
  650.                     <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
  651.                     <type-version>6.0</type-version>
  652.                     <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
  653.                 </persistence-use>
  654.             </persistence>
  655.         </entity-descriptor>
  656.         <local-jndi-name>Address</local-jndi-name>
  657.     </weblogic-enterprise-bean>
  658.     <weblogic-enterprise-bean>
  659.         <ejb-name>Roster</ejb-name>
  660.         <entity-descriptor>
  661.             <persistence>
  662.                 <persistence-use>
  663.                     <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
  664.                     <type-version>6.0</type-version>
  665.                     <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
  666.                 </persistence-use>
  667.             </persistence>
  668.         </entity-descriptor>
  669.         <local-jndi-name>Roster</local-jndi-name>
  670.     </weblogic-enterprise-bean>
  671.     <weblogic-enterprise-bean>
  672.         <ejb-name>Student</ejb-name>
  673.         <entity-descriptor>
  674.             <persistence>
  675.                 <persistence-use>
  676.                     <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
  677.                     <type-version>6.0</type-version>
  678.                     <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
  679.                 </persistence-use>
  680.             </persistence>
  681.         </entity-descriptor>
  682.         <local-jndi-name>Student</local-jndi-name>
  683.     </weblogic-enterprise-bean>
  684. </weblogic-ejb-jar>
  685. ]]></weblogic-ejb-jar.xml>
  686.   <weblogic-cmp-rdbms-jar.xml extralocation="" timestamp="1055860720990"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  687. <!DOCTYPE weblogic-rdbms-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
  688. <weblogic-rdbms-jar>
  689.     <weblogic-rdbms-bean>
  690.         <ejb-name>Address</ejb-name>
  691.         <data-source-name>cmpDS</data-source-name>
  692.         <table-map>
  693.             <table-name>address</table-name>
  694.             <field-map>
  695.                 <cmp-field>addressID</cmp-field>
  696.                 <dbms-column>addressID</dbms-column>
  697.             </field-map>
  698.             <field-map>
  699.                 <cmp-field>street</cmp-field>
  700.                 <dbms-column>street</dbms-column>
  701.             </field-map>
  702.             <field-map>
  703.                 <cmp-field>city</cmp-field>
  704.                 <dbms-column>city</dbms-column>
  705.             </field-map>
  706.             <field-map>
  707.                 <cmp-field>zip</cmp-field>
  708.                 <dbms-column>zip</dbms-column>
  709.             </field-map>
  710.             <field-map>
  711.                 <cmp-field>state</cmp-field>
  712.                 <dbms-column>state</dbms-column>
  713.             </field-map>
  714.             <field-map>
  715.                 <cmp-field>studentID</cmp-field>
  716.                 <dbms-column>studentID</dbms-column>
  717.             </field-map>
  718.         </table-map>
  719.     </weblogic-rdbms-bean>
  720.     <weblogic-rdbms-bean>
  721.         <ejb-name>Roster</ejb-name>
  722.         <data-source-name>cmpDS</data-source-name>
  723.         <table-map>
  724.             <table-name>roster</table-name>
  725.             <field-map>
  726.                 <cmp-field>rosterID</cmp-field>
  727.                 <dbms-column>rosterID</dbms-column>
  728.             </field-map>
  729.             <field-map>
  730.                 <cmp-field>studentID</cmp-field>
  731.                 <dbms-column>studentID</dbms-column>
  732.             </field-map>
  733.             <field-map>
  734.                 <cmp-field>scheduleID</cmp-field>
  735.                 <dbms-column>scheduleID</dbms-column>
  736.             </field-map>
  737.         </table-map>
  738.     </weblogic-rdbms-bean>
  739.     <weblogic-rdbms-bean>
  740.         <ejb-name>Student</ejb-name>
  741.         <data-source-name>cmpDS</data-source-name>
  742.         <table-map>
  743.             <table-name>student</table-name>
  744.             <field-map>
  745.                 <cmp-field>studentID</cmp-field>
  746.                 <dbms-column>studentID</dbms-column>
  747.             </field-map>
  748.             <field-map>
  749.                 <cmp-field>firstname</cmp-field>
  750.                 <dbms-column>firstname</dbms-column>
  751.             </field-map>
  752.             <field-map>
  753.                 <cmp-field>lastname</cmp-field>
  754.                 <dbms-column>lastname</dbms-column>
  755.             </field-map>
  756.         </table-map>
  757.     </weblogic-rdbms-bean>
  758.     <weblogic-rdbms-relation>
  759.         <relation-name>student-address</relation-name>
  760.         <weblogic-relationship-role>
  761.             <relationship-role-name>AddressRelationshipRole</relationship-role-name>
  762.             <relationship-role-map>
  763.                 <foreign-key-table>address</foreign-key-table>
  764.                 <primary-key-table>student</primary-key-table>
  765.                 <column-map>
  766.                     <foreign-key-column>studentID</foreign-key-column>
  767.                     <key-column>studentID</key-column>
  768.                 </column-map>
  769.             </relationship-role-map>
  770.         </weblogic-relationship-role>
  771.     </weblogic-rdbms-relation>
  772.     <weblogic-rdbms-relation>
  773.         <relation-name>student-roster</relation-name>
  774.         <weblogic-relationship-role>
  775.             <relationship-role-name>RosterRelationshipRole</relationship-role-name>
  776.             <relationship-role-map>
  777.                 <foreign-key-table>roster</foreign-key-table>
  778.                 <primary-key-table>student</primary-key-table>
  779.                 <column-map>
  780.                     <foreign-key-column>studentID</foreign-key-column>
  781.                     <key-column>studentID</key-column>
  782.                 </column-map>
  783.             </relationship-role-map>
  784.         </weblogic-relationship-role>
  785.     </weblogic-rdbms-relation>
  786. </weblogic-rdbms-jar>
  787. ]]></weblogic-cmp-rdbms-jar.xml>
  788. </descriptors>