> you can only call (1) from the same vm as the JNDI is running. Eg calling
> from an EJB, or servlet. This is because your app server loads the JNDI
> properites from the system runtime automatically.

Incorrect. You can use this from any JVM. All you have to do is either
load these properties into the System properties yourself, or include a
file called jndi.properties with these settings in your classpath.

> You would use (2) in an external client that accesses your app server. This
> is a different VM

2 can be used anywhere, by clients or by beans.

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com

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