This content has been marked as final. Show 1 reply
The JNDI name is already not correct according to the EJB 3.1 specs, but perhaps under Glassfish this one works. I would have expected something like this:
Assuming the EJB is not deployed as part of an EAR. And of course replace package with the proper package name.
In any case, this:
// EntAppEJB is project namecan be inprecise. It is not the name of the project that matters, it is the name of the EJB module. Whatever the case, you are not being lied to. You are using the wrong name, so figure out what you should be using.