Artikels over Java

From Maven to Gradle – part 3

In the first 2 parts of this series on Gradle, we have migrated a simple project from Maven to Gradle, and written a custom task and plugin for use in our future builds. Today, we are going to deploy the plugin to a repository, and then add the other parts of the MoneyPile project to a multimodule build. At the end of this post, our build will create a war-file and we will be able to run the webapplication from the build file, using an embedded Jetty application server.

LaTeX-friendly Strings with Groovy regexp

I might very well be the only person in the world who wants to generate LaTeX documents from a Java or Groovy application, but just in case there’s someone else out there who’s trying to do the same, here’s a Groovy method that replaces special characters with their LaTeX codes.

From Maven to Gradle – part 2

In the first part of this series, we discovered Gradle and tried to convert a simple Maven project, the domain model of my BeeWorks MoneyPile application. Be sure to read it if you haven’t already. In this second post, we will complete the domain model project by adding a custom plugin that generates DDL files for several databases.

From Maven to Gradle – part 1

Everytime I have to do something with Maven, I get frustrated. Especially POM inheritance and dependency management have frequently given me the urge to throw my computer out the window. And then I’m not even talking about the hundreds and hundreds of lines of XML you need to write for even the simplest projects.

At the 2008 Devoxx conference, I attended a talk about Gradle, which looked promising, so I made up my mind to investigate it in the near future. Due to lots of work and tight deadlines, that near future became a year later, so here we are.

Hosting a Maven repository on Google Code

I was complaining on Twitter today about the lack of a Maven repository for java projects hosted on Google Code. Well, it turns out you can actually set up your own Maven repository in your Subversion tree! I found some references to the Maven Wagon SCM plugin, but you can use the WebDav plugin just [...]

WaveMaker review

WaveMaker is a very impressive tool, a great showcase for what a modern browser can do, and if writing CRUD applications is your thing, it’s brilliant. Its limited Java services functionality and sometimes poor reliability keep it from being useful for serious enterprise projects however.

Facelets bug

I was stress testing a web application that’s built on JSF and Facelets and after navigating between several pages quickly I consistently got errors saying ‘Too many open files’. A quick look at the output of lsof revealed that one particular jar file was kept open hundreds of times. This jar file contains facelets components [...]