
Model-Driven Infrastructure for Java Projects
Custom Software, Java CompetenceJava software-development projects are our daily business. For us it's a common task to setup different environments for dealing with the specific needs of our customers. While we treat every customer individually we want to keep setup time…

Going Pivotal
Custom Software, Java CompetenceRecently we deployed several applications to Pivotal Cloud-Foundry (CF). Deployment was pretty smooth for our Grails and Spring-based applications. Because we had issues deploying JDK-7 applications to heroku as it is using jdk 1.6 as default…
http://www.jooq.orgUsing jOOQ with Spring Transactions
Java CompetenceUpdate 10.02.2014: Recently, Lukas from the jOOQ development team has created a sample GitHub project on how to set Spring + Guice up. Please, refer comments. Recently, we decided to introduce jOOQ to our project. Mostly,…

Groovy meta-programming and Grails Artefact-API
Java CompetenceThe list of transient property names in Grails domain-classes can get quite long in bigger setups. Also often multiple domain-classes share the same transient references so there are many places to keep synced when refactoring or extending.
An…

IllegalStateException in Amazon SDK for Java
Custom Software, Java CompetenceIn one of our projects we need to communicate with Amazon S3. We use the SDK for Java provided by Amazon itself. The library incorporates Apache HttpComponents for managing HTTP and associated protocols. We noticed there was an issue…

Groovy XmlSlurper for HTML Parsing
Custom Software, Java CompetenceVery common task: you need to parse XML. When using groovy there is groovy.util.XmlSlurper for that. We know that HTML is just a special XML - but when you have to parse from online ressources you have to assume that it's never well-formed.…

Grails Mail-Plugin and Custom EmailerService
Custom Software, Java CompetenceJust had an old project that got both Grails Mail-plugin installed and also a custom EmailerService implemented. Problem was that both approaches are configuring a org.springframework.mail.javamail.JavaMailSenderImpl in two…

Using Grails console-plugin to Interactively Evict Hibernate’s Second Level Cache
Java CompetenceIt can be very handy to use Grails console-plugin to investigate database-cache-related issues. For instance in a case where everything works as expected but still a certain value is not displayed on a view - the reason can be that…

Application-Modernization with JMockit and JUnit
Custom Software, Java Competence, Outsourcing, Quality and TestWhen working with legacy-code it is often a good strategy to start increasing test-coverage. But writing tests without changing the legacy-code seems difficult to achieve in the most cases. Often it is enough to execute internal modules in isolation…
