Things I need:* High Availability for the clients (If a server goes down, the client most be able to connet to another server)

My clients work well, I have a jndi.properties files, I can connect and do all the things that I need. But if one server goes offline, the clients connected to that server will not work. And manual changes will need to be done, in the jndi file or changing the settings of the context, Box By Box !!!!

Is there a way to make a JNDI discovery or something like that? Something like the JBoss servers do when they are clustered.

I know I can use an http context, al use a load balancer or something like that so I always get working jndi provider, but this is just nonsence !

I would like to do something like this...java.naming.provider.url = methodToFindAvailableJNDIProviders()

I have another question about this same issue. Is there a way to scan the network for this servers, I would like to avoid using a list of server, I would like to have the remote clients to find a JNDI provider. Still, this is the best solution I've seen. Thanks again.