tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Bourque <christian.bour...@gmail.com>
Subject SessionContext lookup
Date Fri, 01 May 2009 21:28:13 GMT
Hi,

What JNDI path should I use to lookup an EJB using a SessionContext
which has been injected:

@Stateless
public class TestBean implements TestLocal
{
    @Resource
    private SessionContext sessionContext;

    public void test()
    {
        sessionContext.lookup("???");
    }
}

I've tried different combinations without any success...

Thanks

Christian

Mime
View raw message