Hi, is there a way to lookup an EJB in weblogic if it implements only local interface?
If I use this
@Remote public interface TestSessionRemote {
public void businessMethod();
}
@Stateless(mappedName = "A")
public class TestSessionBean implements TestSessionRemote
{
public void businessMethod()
{
}
}
the EJB can be looked up using this name:
"A#" + TestSessionRemote.class.getName()
If I change the annotation for TestSessionRemote from @Remote to @Local the EJB disappears from JNDI. Is there a way around this?