@Service("")
class TestMBean
{
@EJB protected SomeSession ss;
}
Both this MBean and SomeSession session bean are in the same jar file.
So, why do I get an exception that it can't find SomeSession? Isn't that the whole point of @EJB?
Thanks,
Michael
To inject SessionBeans you have to inject the local interface of the session bean using the @EJB Annotation.
grretings
martin