The comment prolly doesn't make sense when found in the jndi.properties file for a client, but
overall the jndi.properties file is used by the InitialContext class to create a context (if it can find
it). Look at the API docs and it will explain it.
rp
| Oisin Kim <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 07/09/2002 09:00 AM
|
To: [EMAIL PROTECTED] cc: Subject: [JBoss-user] Quick question about jndi.properties files |
Hi all,
I have a very small question about jndi.properties files with jboss.
In the old "IntererstClient" example code there is a jndi.properties
file with the comment:
#do not uncomment this line as it causes in VM calls to go over RMI
#java.naming.provider.url=localhost
I'm just trying to see the relevance of having this in client
application, as wouldn't all clients be in a different VM to the JNDI
provider (JBoss) anyway?
I can understand that this might make some improvements in speed if it
was the servers properties file, but in a client it just confuses me!
Basically what I'm asking is what purpose does this have in clients?
Thanks in advance,
Oisin
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Stuff, things, and much much more.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
