⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ejb-jar.xml~6~

📁 郭克华j2ee高级框架实战教学视频源代码 这个是比较值得一看的 由郭克华博士在总结多年Java培训的基础上
💻 XML~6~
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
  <display-name>EJBModule37_1</display-name>
  <enterprise-beans>
    <entity>
      <display-name>TCustomer</display-name>
      <ejb-name>TCustomer</ejb-name>
      <home>prj37_1.TCustomerRemoteHome</home>
      <remote>prj37_1.TCustomerRemote</remote>
      <ejb-class>prj37_1.TCustomerBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>java.lang.String</prim-key-class>
      <reentrant>False</reentrant>
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>TCustomer</abstract-schema-name>
      <cmp-field>
        <field-name>account</field-name>
      </cmp-field>
      <cmp-field>
        <field-name>cbalance</field-name>
      </cmp-field>
      <cmp-field>
        <field-name>cname</field-name>
      </cmp-field>
      <cmp-field>
        <field-name>password</field-name>
      </cmp-field>
      <primkey-field>account</primkey-field>
    </entity>
    <session>
      <display-name>CustomerDao</display-name>
      <ejb-name>CustomerDao</ejb-name>
      <home>prj37_1.CustomerDaoHome</home>
      <remote>prj37_1.CustomerDao</remote>
      <ejb-class>prj37_1.CustomerDaoBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
    </session>
    <session>
      <display-name>CustomerDto</display-name>
      <ejb-name>CustomerDto</ejb-name>
      <home>prj37_1.CustomerDtoHome</home>
      <remote>prj37_1.CustomerDto</remote>
      <ejb-class>prj37_1.CustomerDtoBean</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>
    </session>
  </enterprise-beans>
  <assembly-descriptor>
    <container-transaction>
      <method>
        <ejb-name>TCustomer</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
        <ejb-name>CustomerDao</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
      <method>
        <ejb-name>CustomerDto</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>
  </assembly-descriptor>
</ejb-jar>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -