I am trying to create a statefull session bean. Now I am confused how to define initial context property for the bean... as i am using InitialContext. I am using JBoss and EJB3.0.
And also I am confused whether ho i can use this session bean in different classes in a project...
Thanks In Advance...!!!
Joined: May 14, 2004
You must be using InitialContext to lookup for an existing object that is bound in JNDI tree.
If your JNDI lookup is going to be on the same server where you have deployed your Stateful bean then you just need to create an object of InitialContext.