posted 15 years ago
I am developing an application for Windows that involves using several processes on different machines communicating via sockets. Each process on each machine needs to know what hosts/ports are available for communication. I don't want to be tied to a database (querying for available host info), I don't want to use a configuration file, and I don't want to be tied to the Windows registry. Is there a possibility using JNDI to (upon install) configure an environment variable that will hold the information concerning what hosts and ports are available for connecting? If so, please explain. I am new to JNDI.