[box type=”shadow”]Or: “getting parallel deployment to work when using EhCache”[/box] Caching During our regular Grails development work, we apply both Hibernate with second level caching and Spring method level caching. They both use EhCache by default. This seems to be the only mature implementation choice for the Grails platform. All this used to work fine (so we thought) until we … Lees verder Fix CacheManager with same name grails-cache-ehcache
A simple test Since I wanted to have some test coverage (legacy code alert!) for my project I started out testing one of the services, a grails artefact. All was well, I’m using Spock and testing is a breeze. At some point I wanted to have another component to return a fixed value so I would have something predictable to … Lees verder Grails, private method scope and mocks
Redhat has released Ceylon 1.0 beta! Including a new release of the eclipse IDE plugin which means it’s actually starting to become usable and who knows even practical. The classes from both languages, java and ceylon, work together like peas in a pod! Don’t believe me? Just follow the instructions on installing Ceylon (which is really easy if you know … Lees verder Exploring Ceylon
Though the api’s for working with threads have improved, testing asynchronous processes proves difficult.
The tiny awaitility library saves and lot of useless coding and eases the pain of polling state when testing asynchronous code.