I used EJB 3.0, the following code is in my test.jsp:
InitialContext ctx;
ctx = new InitialContext(props);
UserDAO userdao = (UserDAO)ctx.lookup(“UserDAOBean/local”);
…
Then when I run it, the exceptions is javax.naming.NameNotFoundException: UserDAOBean not bound
I have cost much time on it!
Who can help me?
Please let me know what’s the problem!
Thank you!
You can e-mail me: bairaulinter@hotmail.com