Personally, I would prefer the specs make java:comp/env mandatory so that all
containers are consistence in the looking up call. The problem now is it is
only suggested so all vendors can define whatever they wish.

danch wrote:

> 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.
>



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

Reply via email to