Codice completo


<ejb-jar id="ejb-jar_1" xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
  version="2.1">
  <description><![CDATA[CMPEntityBean generated by eclipse wtp xdoclet extension.]]></description>
  <display-name>CMPEntityBean</display-name>
  <enterprise-beans>
    <!-- Entity Beans -->
    <entity id="ContainerManagedEntity_User">
      <description><![CDATA[<!-- begin-xdoclet-definition -->]]></description>
      
      <ejb-name>User</ejb-name>
      
      <home>it.html.ejb.entity.cmp.UserHome</home>
      <remote>it.html.ejb.entity.cmp.User</remote>
      <local-home>it.html.ejb.entity.cmp.UserLocalHome</local-home>
      <local>it.html.ejb.entity.cmp.UserLocal</local>
      
      <ejb-class>it.html.ejb.entity.cmp.UserCMP</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>UserSCHEMA</abstract-schema-name>
      <cmp-field id="CMPAttribute_1">
        <description><![CDATA[<!-- begin-user-doc --> CMP Field login Returns the login]]></description>
        <field-name>login</field-name>
      </cmp-field>
      <cmp-field id="CMPAttribute_2">
        <description><![CDATA[<!-- begin-user-doc --> CMP Field nome Returns the nome]]></description>
        <field-name>nome</field-name>
      </cmp-field>
      <cmp-field id="CMPAttribute_3">
        <description><![CDATA[<!-- begin-user-doc --> CMP Field cognome Returns the cognome]]></description>
        <field-name>cognome</field-name>
      </cmp-field>
      <cmp-field id="CMPAttribute_4">
        <description><![CDATA[<!-- begin-user-doc --> CMP Field email Returns the email]]></description>
        <field-name>email</field-name>
      </cmp-field>
      <cmp-field id="CMPAttribute_5">
        <description><![CDATA[<!-- begin-user-doc --> CMP Field telefono Returns the telefono]]></description>
        <field-name>telefono</field-name>
      </cmp-field>
      <primkey-field>login</primkey-field>
      
      <query>
        <query-method>
          <method-name>findAll</method-name>
          <method-params></method-params>
        </query-method>
        <ejb-ql><![CDATA[SELECT OBJECT(a) FROM UserSCHEMA as a]]></ejb-ql>
      </query>
    </entity>
  </enterprise-beans>
  <assembly-descriptor id="AssemblyDescriptor_1"></assembly-descriptor>
</ejb-jar>