Tag Archives: java

Simplifying Server Deployment

Configuring servers is tedious work if you operate a cluster of more than a few machines (if you’re a regular reader, you’ve heard about it). I’ve created a simple deployment framework that helps with building deployment packages based on central … Continue reading

Posted in java | Tagged , , | Leave a comment

The State of Java Build Systems

Most people eventually get it that building release artifacts using their IDEs is not the way to nirvana. Builds have to stay stable and reproducible between IDE revisions, and being able to execute them in a command line environment or … Continue reading

Posted in java | Tagged , , , , | 26 Comments

Generating DDL Scripts from JPA Annotations with Maven

A while ago I posted an article that showed how to generate a database schema from JPA annotations. Since I didn’t get the hibernate3 maven plugin working back then I used the antrun plugin as a workaround. Thanks to the … Continue reading

Posted in java | Tagged , , | 24 Comments

Using GridGain’s Topology SPI

On a GridGain cluster, you sometimes want to execute your jobs on only a subset of the nodes available: those nodes meeting a given condition. Let’s say some nodes run an expensive piece of thirdparty software that is (fortunately) only … Continue reading

Posted in java | Tagged , , | 4 Comments

A Quick Look at GridGain

This weekend I finally had the time to take a look at GridGain, a computational grid package written in and for Java. GridGain is a an open source product licensed under LGPL-2.1 (the same as JBoss) with minor portions under … Continue reading

Posted in java | Tagged , , | 2 Comments

Easing Configuration with Spring Beans

Handling configuration data in Java isn’t as convenient as it could be. The old and popular Properties mechanism has an awkward syntax and you have to take care of type safety yourself. The new Preferences mechanism supports XML but still … Continue reading

Posted in java | Tagged , , | 1 Comment

Creating a Minimal Enterprise Application with Maven

Setting up a Java EE application is no trivial task. Dependency management, building, and deployment can get pretty complex and require a thorough understanding of deployment descriptors, jars, ears and other artifacts. In this article, I’m going to present a … Continue reading

Posted in java | Tagged , , | 2 Comments

Using the Maven Source Plugin

When using an ordinary jar library, IDEs like Eclipse’s JDE don’t have enough information to display inline javadocs for referenced classes. You have to manually direct Eclipse to the library’s source code to take advantage of inline documentation. Maven’s source … Continue reading

Posted in java | Tagged , , | 9 Comments