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

Java编程

开发平台:

Java

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <descriptors>
  3.   <ejb-jar.xml extralocation="" timestamp="1062568265343"><![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>Student</display-name>
  9.             <ejb-name>Student</ejb-name>
  10.             <home>com.cwj.entitybeandempcmp.StudentRemoteHome</home>
  11.             <remote>com.cwj.entitybeandempcmp.StudentRemote</remote>
  12.             <local-home>com.cwj.entitybeandempcmp.StudentHome</local-home>
  13.             <local>com.cwj.entitybeandempcmp.Student</local>
  14.             <ejb-class>com.cwj.entitybeandempcmp.StudentBean</ejb-class>
  15.             <persistence-type>Container</persistence-type>
  16.             <prim-key-class>java.lang.String</prim-key-class>
  17.             <reentrant>False</reentrant>
  18.             <cmp-version>2.x</cmp-version>
  19.             <abstract-schema-name>Student</abstract-schema-name>
  20.             <cmp-field>
  21.                 <field-name>studentID</field-name>
  22.             </cmp-field>
  23.             <cmp-field>
  24.                 <field-name>firstname</field-name>
  25.             </cmp-field>
  26.             <cmp-field>
  27.                 <field-name>lastname</field-name>
  28.             </cmp-field>
  29.             <primkey-field>studentID</primkey-field>
  30.             <query>
  31.                 <query-method>
  32.                     <method-name>findLastName</method-name>
  33.                     <method-params>
  34.                         <method-param>java.lang.String</method-param>
  35.                     </method-params>
  36.                 </query-method>
  37.                 <ejb-ql>SELECT OBJECT(s) FROM Student AS s WHERE s.lastname = ?1</ejb-ql>
  38.             </query>
  39.         </entity>
  40.     </enterprise-beans>
  41.     <assembly-descriptor>
  42.         <container-transaction>
  43.             <method>
  44.                 <ejb-name>Student</ejb-name>
  45.                 <method-name>*</method-name>
  46.             </method>
  47.             <trans-attribute>Required</trans-attribute>
  48.         </container-transaction>
  49.     </assembly-descriptor>
  50. </ejb-jar>
  51. ]]></ejb-jar.xml>
  52.   <ejb-borland.xml extralocation="" timestamp="1062568265343"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  53. <!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">
  54. <ejb-jar>
  55.     <enterprise-beans>
  56.         <entity>
  57.             <ejb-name>Student</ejb-name>
  58.             <bean-home-name>StudentRemote</bean-home-name>
  59.             <bean-local-home-name>Student</bean-local-home-name>
  60.             <cmp2-info>
  61.                 <cmp-field>
  62.                     <field-name>studentID</field-name>
  63.                     <column-name>studentID</column-name>
  64.                 </cmp-field>
  65.                 <cmp-field>
  66.                     <field-name>firstname</field-name>
  67.                     <column-name>firstname</column-name>
  68.                 </cmp-field>
  69.                 <cmp-field>
  70.                     <field-name>lastname</field-name>
  71.                     <column-name>lastname</column-name>
  72.                 </cmp-field>
  73.                 <table-name>student</table-name>
  74.             </cmp2-info>
  75.             <property>
  76.                 <prop-name>data-source-name</prop-name>
  77.                 <prop-type>String</prop-type>
  78.                 <prop-value>cmpDS</prop-value>
  79.             </property>
  80.             <property>
  81.                 <prop-name>ejb-designer-id</prop-name>
  82.                 <prop-type>String</prop-type>
  83.                 <prop-value>Student</prop-value>
  84.             </property>
  85.         </entity>
  86.     </enterprise-beans>
  87.     <table-properties>
  88.         <table-name>student</table-name>
  89.         <column-properties>
  90.             <column-name>studentID</column-name>
  91.         </column-properties>
  92.         <column-properties>
  93.             <column-name>firstname</column-name>
  94.         </column-properties>
  95.         <column-properties>
  96.             <column-name>lastname</column-name>
  97.         </column-properties>
  98.         <property>
  99.             <prop-name>datasource</prop-name>
  100.             <prop-type>String</prop-type>
  101.             <prop-value>serial://datasources/cmpDS</prop-value>
  102.         </property>
  103.     </table-properties>
  104.     <assembly-descriptor />
  105. </ejb-jar>
  106. ]]></ejb-borland.xml>
  107.   <ejb-modeler-schema.xml extralocation="" timestamp="1062568034078"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  108. <schema-root-node name="DataSources" node-type="0" status="0">
  109.   <schema-connection-node name="cmpDS" node-type="4" status="0" catalog="null-object" connection-type="1" data-source-name="" driver="com.microsoft.jdbc.sqlserver.SQLServerDriver" file="null-object" password="sa" sql-schema="null-object" url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" use-data-source="true" username="sa" all-schemas="true" all-views="false">
  110.     <schema-table-node name="address" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  111.       <schema-column-node name="addressID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  112.       <schema-column-node name="street" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="2" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  113.       <schema-column-node name="city" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="3" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  114.       <schema-column-node name="zip" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="4" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  115.       <schema-column-node name="state" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="5" precision="25" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  116.       <schema-column-node name="studentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="6" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  117.     </schema-table-node>
  118.     <schema-table-node name="CourseEJBTable" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  119.       <schema-column-node name="ID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="10" scale="-1" vendor-type-name="varchar" is-primary-key="true" />
  120.       <schema-column-node name="Title" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="2" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  121.       <schema-column-node name="Price" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="3" ordinal="3" precision="10" scale="12" vendor-type-name="decimal" is-primary-key="false" />
  122.       <schema-column-node name="MaxNumber" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="4" ordinal="4" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  123.       <schema-column-node name="Description" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="5" precision="2000" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  124.     </schema-table-node>
  125.     <schema-table-node name="dtproperties" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  126.       <schema-column-node name="id" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="4" ordinal="1" precision="-1" scale="-1" vendor-type-name="int identity" is-primary-key="true" />
  127.       <schema-column-node name="objectid" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="4" ordinal="2" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  128.       <schema-column-node name="property" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="3" precision="64" scale="-1" vendor-type-name="varchar" is-primary-key="true" />
  129.       <schema-column-node name="value" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="4" precision="255" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  130.       <schema-column-node name="uvalue" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="5" precision="255" scale="-1" vendor-type-name="nvarchar" is-primary-key="false" />
  131.       <schema-column-node name="lvalue" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="-4" ordinal="6" precision="-1" scale="-1" vendor-type-name="image" is-primary-key="false" />
  132.       <schema-column-node name="version" node-type="2" status="0" col-default="(0)" is-nullable="NO " java-sql-type="4" ordinal="7" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  133.     </schema-table-node>
  134.     <schema-table-node name="InstructorEJBTable" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  135.       <schema-column-node name="InstructorID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="30" scale="-1" vendor-type-name="varchar" is-primary-key="true" />
  136.       <schema-column-node name="Password" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="2" precision="8" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  137.       <schema-column-node name="FirstName" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="3" precision="10" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  138.       <schema-column-node name="LastName" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="4" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  139.       <schema-column-node name="Email" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="5" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  140.       <schema-column-node name="Phone" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="6" precision="15" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  141.       <schema-column-node name="CertfiedToTeach" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="7" precision="80" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  142.       <schema-column-node name="CreateDate" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="93" ordinal="8" precision="-1" scale="-1" vendor-type-name="datetime" is-primary-key="false" />
  143.     </schema-table-node>
  144.     <schema-table-node name="LocationEJBTable" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  145.       <schema-column-node name="ID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="true" />
  146.       <schema-column-node name="BizName" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="2" precision="60" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  147.       <schema-column-node name="BuildName" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="3" precision="40" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  148.       <schema-column-node name="Address" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="4" precision="80" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  149.       <schema-column-node name="City" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="5" precision="40" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  150.       <schema-column-node name="State" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="6" precision="5" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  151.       <schema-column-node name="Zip" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="4" ordinal="7" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  152.       <schema-column-node name="Country" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="8" precision="40" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  153.       <schema-column-node name="MainPhone" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="9" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  154.       <schema-column-node name="ContactPerson" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="10" precision="80" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  155.       <schema-column-node name="Email" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="11" precision="80" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  156.     </schema-table-node>
  157.     <schema-table-node name="roster" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  158.       <schema-column-node name="rosterID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  159.       <schema-column-node name="studentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="2" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  160.       <schema-column-node name="scheduleID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="3" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  161.     </schema-table-node>
  162.     <schema-table-node name="RosterEJBTable" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  163.       <schema-column-node name="ScheduleId" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="12" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  164.       <schema-column-node name="StudentId" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="2" precision="30" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  165.       <schema-column-node name="RegistrationDate" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="93" ordinal="3" precision="-1" scale="-1" vendor-type-name="datetime" is-primary-key="false" />
  166.     </schema-table-node>
  167.     <schema-table-node name="ScheduleEJBTable" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  168.       <schema-column-node name="SID" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="1" precision="12" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  169.       <schema-column-node name="CourseID" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="2" precision="8" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  170.       <schema-column-node name="StartDate" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="93" ordinal="3" precision="-1" scale="-1" vendor-type-name="datetime" is-primary-key="false" />
  171.       <schema-column-node name="EndDate" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="93" ordinal="4" precision="-1" scale="-1" vendor-type-name="datetime" is-primary-key="false" />
  172.       <schema-column-node name="LocationID" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="5" precision="12" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  173.       <schema-column-node name="MaxEnrollment" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="4" ordinal="6" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  174.       <schema-column-node name="CurrentEnrollment" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="4" ordinal="7" precision="-1" scale="-1" vendor-type-name="int" is-primary-key="false" />
  175.       <schema-column-node name="Status" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="8" precision="10" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  176.       <schema-column-node name="InstructorID" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="9" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  177.     </schema-table-node>
  178.     <schema-table-node name="student" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  179.       <schema-column-node name="studentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  180.       <schema-column-node name="firstname" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="2" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  181.       <schema-column-node name="lastname" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="3" precision="50" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  182.     </schema-table-node>
  183.     <schema-table-node name="StudentEJBTable" node-type="1" status="0" catalog="null-object" ref="false null com.microsoft.jdbc.sqlserver.SQLServerDriver jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Regsystem" sql-schema="null-object">
  184.       <schema-column-node name="StudentID" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="1" precision="30" scale="-1" vendor-type-name="varchar" is-primary-key="true" />
  185.       <schema-column-node name="Password" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="2" precision="8" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  186.       <schema-column-node name="FirstName" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="3" precision="10" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  187.       <schema-column-node name="LastName" node-type="2" status="0" col-default="null-object" is-nullable="NO " java-sql-type="12" ordinal="4" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  188.       <schema-column-node name="Email" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="5" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  189.       <schema-column-node name="Phone" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="6" precision="15" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  190.       <schema-column-node name="CompanyName" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="12" ordinal="7" precision="20" scale="-1" vendor-type-name="varchar" is-primary-key="false" />
  191.       <schema-column-node name="CreateDate" node-type="2" status="0" col-default="null-object" is-nullable="YES" java-sql-type="93" ordinal="8" precision="-1" scale="-1" vendor-type-name="datetime" is-primary-key="false" />
  192.     </schema-table-node>
  193.   </schema-connection-node>
  194. </schema-root-node>]]></ejb-modeler-schema.xml>
  195.   <ejb-modeler-layout.xml extralocation="" timestamp="1062568265343"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  196. <layout>
  197.   <view>
  198.     <name>Default</name>
  199.     <ejb>
  200.       <name>Student</name>
  201.       <x>25</x>
  202.       <y>25</y>
  203.       <width>130</width>
  204.       <height>222</height>
  205.     </ejb>
  206.   </view>
  207. </layout>
  208. ]]></ejb-modeler-layout.xml>
  209.   <weblogic-cmp-extras.xml extralocation="" timestamp="1062568265343"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  210. <weblogic-rdbms-jar>
  211.   <weblogic-rdbms-bean>
  212.     <ejb-name>Student</ejb-name>
  213.     <data-source-name>cmpDS</data-source-name>
  214.     <table-name>student</table-name>
  215.     <field-map>
  216.       <cmp-field>studentID</cmp-field>
  217.       <dbms-column>studentID</dbms-column>
  218.     </field-map>
  219.     <field-map>
  220.       <cmp-field>firstname</cmp-field>
  221.       <dbms-column>firstname</dbms-column>
  222.     </field-map>
  223.     <field-map>
  224.       <cmp-field>lastname</cmp-field>
  225.       <dbms-column>lastname</dbms-column>
  226.     </field-map>
  227.     <table-map>
  228.       <table-name>student</table-name>
  229.       <field-map>
  230.         <cmp-field>studentID</cmp-field>
  231.         <dbms-column>studentID</dbms-column>
  232.       </field-map>
  233.       <field-map>
  234.         <cmp-field>firstname</cmp-field>
  235.         <dbms-column>firstname</dbms-column>
  236.       </field-map>
  237.       <field-map>
  238.         <cmp-field>lastname</cmp-field>
  239.         <dbms-column>lastname</dbms-column>
  240.       </field-map>
  241.     </table-map>
  242.   </weblogic-rdbms-bean>
  243. </weblogic-rdbms-jar>
  244. ]]></weblogic-cmp-extras.xml>
  245.   <weblogic-ejb-jar.xml extralocation="" timestamp="1062568265734"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  246. <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>
  247. <weblogic-ejb-jar>
  248.     <weblogic-enterprise-bean>
  249.         <ejb-name>Student</ejb-name>
  250.         <entity-descriptor>
  251.             <persistence>
  252.                 <persistence-use>
  253.                     <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
  254.                     <type-version>6.0</type-version>
  255.                     <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
  256.                 </persistence-use>
  257.             </persistence>
  258.         </entity-descriptor>
  259.         <jndi-name>StudentRemote</jndi-name>
  260.         <local-jndi-name>Student</local-jndi-name>
  261.     </weblogic-enterprise-bean>
  262. </weblogic-ejb-jar>
  263. ]]></weblogic-ejb-jar.xml>
  264.   <weblogic-cmp-rdbms-jar.xml extralocation="" timestamp="1062568265734"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
  265. <!DOCTYPE weblogic-rdbms-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB RDBMS Persistence//EN' 'http://www.bea.com/servers/wls810/dtd/weblogic-rdbms20-persistence-810.dtd'>
  266. <weblogic-rdbms-jar>
  267.     <weblogic-rdbms-bean>
  268.         <ejb-name>Student</ejb-name>
  269.         <data-source-name>cmpDS</data-source-name>
  270.         <table-map>
  271.             <table-name>student</table-name>
  272.             <field-map>
  273.                 <cmp-field>studentID</cmp-field>
  274.                 <dbms-column>studentID</dbms-column>
  275.             </field-map>
  276.             <field-map>
  277.                 <cmp-field>firstname</cmp-field>
  278.                 <dbms-column>firstname</dbms-column>
  279.             </field-map>
  280.             <field-map>
  281.                 <cmp-field>lastname</cmp-field>
  282.                 <dbms-column>lastname</dbms-column>
  283.             </field-map>
  284.         </table-map>
  285.     </weblogic-rdbms-bean>
  286. </weblogic-rdbms-jar>
  287. ]]></weblogic-cmp-rdbms-jar.xml>
  288. </descriptors>