-
1. Re: New to EJB3 -- Please help
fhh Apr 30, 2007 6:48 PM (in response to chensquare)Look at the JMS console if and where the bean might have been deployed.
Regards
Felix -
2. Re: New to EJB3 -- Please help
chensquare May 1, 2007 8:52 AM (in response to chensquare)Yes, JMX-Console indicates that bean is deployed properly on the server. Anyone--please help. THANKS A MILLION !!
-
3. Re: New to EJB3 -- Please help
kent.narling May 1, 2007 9:39 AM (in response to chensquare)I'm just like you - new to EJB - and got exactly the same problem like you when I tried to disect EJB3Trail and create my own project...
However, then I downloaded the sample helloworld that this guy did: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037705#4037705
Then it worked!?!
I have not managed to find out the what was different with what I did yet... but it would be interesting to know!
AFAIK the default JNDI location should be:
EAR-FILE-BASE-NAME/EJB-CLASS-NAME/local
But it just fails to find my Stateless session bean with the error: EJB3Test not bound
(and the name of my ear file is EJB3Test.ear) -
4. Re: New to EJB3 -- Please help
chensquare May 1, 2007 10:03 AM (in response to chensquare)Thanks Kent. I will try the example that you suggested today.
It looks like my bean is deployed correctly, and the error is in my client code. I'm sure an experienced EJB programmer can spot my error immediately, I just don't know what else to try (none of the examples that I googled matches my code. I'm trying to follow the example in MasteringEJB3.0 book).