After played with Stateful and Stateless session bean, I am trying for entity bean (BMP) and I am encountering error one after other.
Actually I have checked the ejb-jar.xml and jboss.xml, there I have configured the Entity Bean - home ref. While the server deploying yhe ear file also, I am getting
"Bound EJB Home 'HelloBMPEntity' to jndi 'ejb/HelloBMPEntity'"
But, when I tried to lookup it from servlet, I am getting the
"javax.naming.NameNotFoundException: HelloBMPEntity not bound" exception
jboss.xml
=========
ejb-jar.xml
===========
Jesus Angeles
Ranch Hand
Joined: Feb 26, 2005
Posts: 2036
posted
0
To see what actually are deployed and named, and their actual JNDI names, you can look at the JNDI VIEW.
When I had this issue, I found in google the below link, which happens to be written by one of Javaranch's bartenders - Jaikiran.