Well I have got a question... I have many projects running and in all of them I have some connections to make
(not database connections but mail server, LDAP connections etc )
which i do using hard coded IP address, user ID and pwd. Recently a change was requested in those variables and I
ended up changing them in all the projects.
I just thought maybe I should be doing this in a better way. Do it all in one place and call the same code which
returns these values. Well I need your suggestions on this, I know you guys must have good ways of doing this
Some of the projects are web apps running on Websphere and some are just java projects.
Hmm,.. so how do I handle this,.. any ideas?
As of now I am thinking maybe web services or RMI , though I have not done any of these anytime...
If there is any variables that is common between all these properties, then you can put those in one place and read dyanamically. However, if all the variables are different, even if you put them in separate properties files, you still have to change tehm all if they need to.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley