Example accessing ENC ejb-local-ref context
Example 6.11. ENC ejb-local-ref access code fragment InitialContext iniCtx = new InitialContext(); Context ejbCtx = (Context) iniCtx.lookup("java:comp/env/ejb"); ProbeLocalHome home = (ProbeLocalHome) ejbCtx.lookup("ProbeLocalHome");