Peter Johnson wrote:Are you saying:
a) You don't know how to configure the EJB to have a specific name within JNDI?
or
b) You don't know what JNDI name was assigned to your EJB, and you need to know that so that your lookup code works?
If it is 'b', we would need to know the app server that you deployed to (each app server has tools to let you discover the name assigned)
Thanks a lot for the reply! I have created another
thread in
https://coderanch.com/t/565416/EJB-JEE/java/EJB-NullPointException few days back
That thread is all about this issue, I believe the NullPointException is coming because of the JNDI case. Now I am using NetBean's built in GlassFish 3.1, but I will use whatever the container you want me to use, I will follow whatever the advice you give, please help me.... I am JUST 1 WEEK EXPERIENCED in EJB, so please help...