For the record, a lot of the containers I've been dealing with put
deployed EJB homes in the root namespace when you get the initial
context:

Context ctx = new InitialContext();
MyBeanHome = ctx.lookup("homey");

Where things land in JNDI land is one of the most irritating things when
going from one container to another: some have bugs and things don't
show up where they should, some take the spec literally when it calls
these things 'suggested', etc.

Pranab Dhar wrote:
> 
> Hi ,
>      I have been trying to use the java:comp/env default context in my
> client to get
>      Home references.From the books and specification I gather that
> deployed bean are
>      mapped under java:comp/env/ejb subdirectory i.e for an EJB we will
> use
>      java:comp/env/ejb/TestBeanHome to do a lookup. So far all my
> attempts has been a
>      failure. Am I doing something wrong ?
> 
> PKD
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to