logo
Jul
24

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...
Jul
23

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...

logo
Powered by WordPress | Designed by Elegant Themes