Browsing articles from "July, 2008"
Jul
24
2008

Grails, Jetty, Glassfish and JNDI Data Sources

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 your username/password data [...]

Jul
23
2008

Overcoming Grails Circular Service Dependencies

I’m in the midst of a little refactor of groovyblogs to move to a message based architecture. Should make things a lot more reliable. Along the way I’m coming across a few common things that need to be written down. One of the first to sort out is the “circular dependencies” issue. Here’s the classic scenario. I have a feed service that needs to talk to the queue service to make requests. And when new [...]

Glen Smith

About Glen

Co-author Grails in Action