OPI Blog
Learn from experts in their fields

Archive For:

Grails Config Values Per Tomcat Host
Sometimes in a Grails application it is necessary to have configuration values available at the Tomcat Host level. An example of such a situation would be needing multiple Hosts in a single Tomcat instance all ...
Nov 26, 2013
The Joy of Oracle XML type
This blog post could be summed up in one sentence. The Oracle XML type functions (e.g. updateXML, EXTRACT) can be applied to xml formatted data in any column type by using the XMLType() conversion function ...
Resolving browser-specific issues using the Grails Resources plugin
While upgrading an application to Grails 2 recently, we encountered a couple browser-specific issues (well, more than a couple) that I thought were pretty interesting. These two are relatively well-known in general but I thought ...
Guicing up Dropwizard
Dropwizard is a lightweight RESTful web service framework built by Yammer. It incorporates a collection of mature Java libraries including Jetty, Jersey, Jackson, and Metrics to provide performant and reliable production-ready services. At my current ...
Parallel Grails Functional Tests with Geb and Gradle
Browser-based functional tests are a great way to verify a Grails application works fully end-to-end. But since they use a browser, they are slower to run than unit or integration tests. And depending on how ...
Set up a pseudo test suite in Grails while doing a major upgrade
I’m currently working with a large team to upgrade a large Grails 1.3.7 app to 2.2.4. We have  hundreds of tests. Most of the tests are broken, presumably because they have yet to be adapted ...
Nov 8, 2013
And the iPad Mini Retina goes to….
We had a great time at Mobcon, as well as the time leading up to it! We had a lot of congenial conversations, got to show off some of our many accomplishments within our mobile ...
Nov 7, 2013
Testing GWT with GwtMockito
Introduction This article shows how to use Mockito’s doAnswer() and thenAnswer() to test hard to reach code usually written within a GWT application. The technique of calling anonymous inner classes from test code applies to ...
Building Avatar Applications with Gradle
Project Avatar was open sourced at this year’s JavaOne Conference, but the framework has been under development for a while, and was first announced at JavaOne in 2011. The primary purpose of Avatar is to ...
Oct 29, 2013
Testing Grails With a Travis Build Matrix
Continuous integration testing can be configured to create a build matrix to test multiple configurations of a project using a single build configuration.  This can be useful if you want to test a Grails application with ...