Customize reading of the application config properties

Sep 12, 2008 at 7:03 PM
Hi
I am planning to modify the client library to read the application config properties from JNDI instead of plain Java properties file. I have identified com.microsoft.hsg.ApplicationConfig.java to be the only class that would have to be changed. Can you please verify if this is correct?


Thanks
Fazal
Sep 12, 2008 at 9:01 PM

hi Fazal -

All the config is encapsulated in ApplicationConfig.java and i think that the only place you might have to modify to switch from Java properties file to JNDI. Rob, please correct me if i'm wrong.

regards,
Vaibhav

Coordinator
Sep 26, 2008 at 9:33 PM
The only purpose for the ApplicationConfig class is for the ConnectionFactory when it assembles everything necessary for a Connection.  You should feel free to create connections however you like and inject values from whatever configuration source desired. 

This might be a good item to separate out a little better.