Here's the part of the deployment descriptor:
<entreprise-beans>
My first stateless session bean
<ejb-name>MySessionBean</ejb-name>
EJB.MySessionBeanHome
EJB.MySessionBean
<ejb-class>MySessionBeanBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<jndi-name>MyBean</jndi-name>
</entreprise-beans>
Should I see "MyBean" in the Global JNDI in the console?
In the client, I have:
Object ref = (MySessionBeanHome)jndiContext.lookup("MyBean");
and I have an error message back saying that the component is unknown..
Do you know what my problem is?
Thank you
Christophe
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836109#3836109
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836109
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user