Deploy Descriptor
<?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>
<enterprise-beans>
<entity>
<ejb-name>BankAccount</ejb-name>
<home>it.html.ejb.entity.bmp.BankAccountHome</home>
<remote>it.html.ejb.entity.bmp.BankAccount</remote>
<local-home>it.html.ejb.entity.bmp.BankAccountLocalHome</local-home>
<local>it.html.ejb.entity.bmp.BankAccountLocal</local>
<ejb-class>it.html.ejb.entity.bmp.BankAccountBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>it.html.ejb.entity.bmp.AccountPK</prim-key-class>
<reentrant>False</reentrant>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>BankAccount</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>