> InitialContext doesn't have that much of an overhead. It's pretty much
> a
> factory into the naming context, which for ENC shouldn't be doing much
> to begin with.

That is only partially correct. If you do a new InitialContext() and
then lookup something in it, the context to the real directory service
will be cached. Hence, any subsequent calls will be faster.

So, you should indeed try to save the initial context.

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.dreambean.com
Question reality

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to