Today I’ve moved a bunch of my Grails apps over to JNDI Data Sources, and while it’s fresh in my mind, I thought I’d document a few of the tips and tricks involved.
First of all, why would you even want to use JNDI data sources? A few good reasons:
Most importantly, your app server can probably manage your database connections a lot better than you can
You don’t have to embed...