-
1. Re: EJB Deployment
milowe Sep 19, 2003 3:01 PM (in response to mr86)Not sure what JNDI name would be used without ejb-ref set and no jboss.xml file. I guess ejb-name would be used in this case. Look in the JNDI list in the jmx-console to see what name it is bound to and that the bean is deployed correctly.
-
2. Re: EJB Deployment
peejay Sep 20, 2003 6:01 AM (in response to mr86)Hi,
your ejb-jar.xml seems to be okay.
You also need a jboss.xml file.
It should loook like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd">
<enterprise-beans>
<ejb-name>Basket</ejb-name>
<jndi-name>ejb/Basket</jndi-name>
</enterprise-beans>
<resource-managers>
</resource-managers>
Now you have to put your bean, the interfaces and the two xml files in a jar file and copy it to the server/default/deploy directory of jboss.
See also:
http://prdownloads.sourceforge.net/jboss/QuickStart-30x.pdf?download
http://www.oreilly.com/catalog/entjbeans3/workbooks/index.html
peejay -
3. Re: EJB Deployment
vashistvishal Sep 20, 2003 11:43 PM (in response to mr86)As pointed out by Peejay u need Jboss.xml in yr xxx.jar file at the same level as ejb-jar.xml.
Aslo If u still have some problems, just check this as well.
www.tusc.com.au/tutorial/html/chap3.html.
Vishal.