logo       

Quick question about jndi.properties files: msg#00335

java.jboss.user

Subject: 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise