News for hackers. Stuff that matters.
Re:Cause of today's Github outage by mml on Monday November 15, 2010 @08:33AM (#1906164)
Not really. Reasonably complex java apps would use jndi to store a single db connect name, which the app server maps internally to db credentials.

That way, the app just says "connect me to /x" and the container gives the app /x, which might be the test or prod db connection, the app never knows, or cares. You get the db that the operations guys configured for -that- environment.

Jndi is horrible in many ways, and so are app containers, but there are a few niceties that ruby-land could learn from.

There are no comments on this comment yet.