Category Archives: java

Binding mmbase nodes to strongly typed object graphs

In past years I’ve spend quite some time converting MMBase node graphs to strongly typed object graphs. One of the reasons for doing this is to define ‘meta’ models on top of the cloud. ‘What is a newsitem?’ (i.e. which … Continue reading

Posted in java, mmbase | 2 Comments

Oracle buys Sun…

After the news of IBM pulling back from the deal to buy Sun Microsystems rumors about other possible candidates scoured the web. Oracle was on top of most lists. Today the news hit the web. Oracle actually bought Sun (well, … Continue reading

Posted in java, oracle | 3 Comments

Composited objects with shared id’s in Hibernate

One of the models a developed in a previous project used embedded/embeddable annotations to create a composite object. The (simplified) object model looks like this: The embedded/embeddable solution would store the entire graph in a single table, all attributes flattened … Continue reading

Posted in java | Leave a comment

CouchDB meetup in Amsterdam

Tonight I went to the CouchDB meetup in Amsterdam (‘In De Wildeman’) to discuss the architecture I’m designing for upcoming VPRO projects (more on that in a following blogpost). We had a really nice discussion about mostly the ‘edges’ of … Continue reading

Posted in java | 1 Comment

Ioke @ Amsterdam.rb

Tonight I visited Amsterdam.rb. Mainly because I wanted to see Ola Bini talk about his pet project Ioke. Although Ioke is far from finished, or even usable in real life it was really nice to see someone try out new … Continue reading

Posted in java | Tagged | Leave a comment

I want closures “bolted on to Java”

After seeing Blochs’ session on Javapolis last year and some of the Java 7 sessions at JavaOne this year I gave up on closures in Java. I just didn’t believe that they would be part of Java 7 anymore. I … Continue reading

Posted in closures, java | 11 Comments

Review: “Clean Code: A handbook of agile software craftmanship”

The following product description of Clean Code written by Robert C. Martin managed to trigger my interest: Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship. Martin has teamed up … Continue reading

Posted in java | 4 Comments

JavaOne 2008 – Summary & Reflection

1 day of CommunityOne and 4 days of JavaOne went by in a flash. I’ve been to a lot of great, a couple of not-so-great and some really bad sessions. To avoid information overload on semi-interesting topics I really tried … Continue reading

Posted in java | 4 Comments

Closures and the return of the return

I attended Joshua Blochs’ presentation on closures at JavaPolis last week (watch the video here). This slides about return not return from what you’d expect kept me wondering: how do other languages solve this ‘problem’. The example from Bloch, taken … Continue reading

Posted in closures, java, ruby | 13 Comments

CPD with maven2 and PMD

Detecting copy/pasted code is a useful technique to find potential buggy code. Duplicated code often results in bugs being fixed in only one version of the copied code. PMD is a great sourcecode analysis tool which integrates nicely with maven … Continue reading

Posted in cpd, java, maven | Leave a comment