aspose file tools
The moose likes JBoss and the fly likes I need help for deploying container managed beans  with hypersonic database Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "I need help for deploying container managed beans  with hypersonic database" Watch "I need help for deploying container managed beans  with hypersonic database" New topic
Author

I need help for deploying container managed beans with hypersonic database

Jasmine kaur
Ranch Hand

Joined: Nov 25, 2003
Posts: 157
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


jasmine kaur
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: I need help for deploying container managed beans with hypersonic database
 
Similar Threads
I need help for deploying container managed beans with hypersonic database
Is there something wrong with this .ear archive?
please help me to run a conatimer managed bean with Jboss
Deployment Error : Class not found
Help me out for CMR deployment in CMP EJB......