What i have is web services deployed that reference a datasource do calculations and return data. I have multiple clients that access the web service and each needs access to a different database. So i have 30 jndi datasources each representing one of the databases that when the client calls the web service i take the ip of the caller and find which datasource to use. How can i dynamically make sure that each is using the correct datasource ??
Thanks