jndi reference error in ejb3.0
- by Nila
Hi!
I'm trying to implement a stateless session bean in ejb3 using glassfish server v2 and netbeans as the editor. I'm using jndi lookup for calling bean class. When I tried to deploy the war file where I'm calling the bean class through servlet, it is showing the following error:
This web app [C:\Documents and
Settings\Test-war\build\web] has no
ejb reference by the name of
[TestingBean] deployed with moduleid =
Test-war
I manually created glassfish deployment descriptor for ejb and edited sun-web xml file in war. How to solve this jndi reference problem. Where I'm missing?
Thanks in advance