Hello Everybody ,
Iam deploying entity beans that is a container managed beans on Jboss3.2.5 and I want to know which files need to be config while deploying .
I have made a bean.class , home.class and remote apart from this I have made a META-INF folder under which I have saved the following files ejb-jar.xml, jboss.xml
A)ejb-jar.xml
<?xml version="1.0"?>
<!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>JasbirBean</ejb-name>
<home>playerhome</home>
<remote>player</remote>
<ejb-class>playerbean</ejb-class>
<persistence-type>Container</persistence-type>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>playerbean</abstract-schema-name>
<cmp-field>
<field-name>PlayerId</field-name>
</cmp-field>
<cmp-field>
<field-name>Name</field-name>
</cmp-field>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>JasbirBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
b)jboss.xml
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC
"-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<
jboss>
<enterprise-beans>
<entity>
<ejb-name>JasbirBean</ejb-name>
<jndi-name>player</jndi-name>
</entity>
<ejb-ref>
<ejb-ref-name>ejb/jasbir</ejb-ref-name>
<jndi-name>player</jndi-name>
</ejb-ref>
</enterprise-beans>
</jboss>
please tell me is there any file need to be added apart from ebj-jar.xml , jboss.xml file as Iam doing this XMP example with Hypersonic database.
Please tell me if anyother file need to be added and if it is then which other files and tags are required so that I can run my CMP example in JBOSS.
Do i need to make changes in standard-jboss-cmp.xml file or not
Thanks in advance.
Jasbir