Archive for September, 2007

Google Collection Library

Recently the Google Collections Library came to my attention. The Google Collections Library is a suite of new collections and collection-related goodness for Java 5.0, brought to you by Google.
Since I’m a frequent user of apaches’ commons-collections library I wondered what the difference is.
From browsing the API and FAQ it seems that:

It fully based […]

Writing tests for a Grails applications is really simple. In Groovy code actually compiles when non-existing methods of objects are referenced (as opposed to Java) which makes it possible exercise TDD (test driven development).
Grails supports two types of tests out of the box, unittests and integrationtests. Tests are located in the test folder of [...]

BOTG 2007

Yesterday I presented at the Battle of the Geeks 2007 organized by my employer. 4 presentations where given and people in the audience where asked to rate each presentation using special cards. (I translated this post to Dutch for the Finalist developer blog)

19.15 Presentation 1: CMS Container
Freek Punt talked about Finalists' own MMBase based [...]

Package level annotations

While setting up JAXB2 for converting object graphs to XML I came across a not-so-nice part of the annotations specification. While looking for a way to define a package level annotation (never needed to do this before) I found the solution a bit surprising:
To define a package-level annotation one has to create a file called [...]

Groovy 1.1 beta 3: method missing

Groovy 1.1. beta 3 was announced a couple of days ago and includes some interesting additions to the groovy language, like a real method missing. Grails' lead developer Graeme Rocher has a simple example of the way it works in his blog:
PLAIN TEXT
GROOVY:

Foo.metaClass.methodMissing = { String name, args ->

    Foo.metaClass."$name" = { Object[] varArgs [...]

Quick take at Wicket Web Beans

Recently a really interesting wicket extension emerged: Wicket Web Beans (WWB).

Wicket Web Beans (WWB) is an Apache Wicket component toolkit for displaying and editing POJOs that conform to the JavaBeans specification. Web pages are automatically generated based on bean properties and certain conventions. If necessary, the layout, editability, and actions of these pages can be [...]

I was asked to do a series of presentations and workshops regarding Spring MVC at the HvA. Last Friday I started off with a presentation and some live coding examples.
Although the students didn't have much experience with Spring or Java web development I think I did manage to give them some ideas about what Spring [...]




About

Welcome to the weblog of Peter Maas. Here you'll find various posts related to stuff I like (like my kids and espresso) and stuff I do (like developing software).

JavaOne 2008 Pictures


nearby hotel Charles Nutter & Guillaume Laforge Rudie smashmouth Greenland Cable Car line Moscone Center - JavaOne Scribbled Sun Logo Joshua Bloch at JavaOne2008 Java + You on a cab Acme Anvile at CommunityOne Keynote sea_lion Community One Keynote Hotel room javaone 2008 goodybag Tim Bray introducing the (J)Ruby panel Stage being build in the nearby park Golden Gate Okke en Rudie alcatraz
View more photos >

Categories



Meld u aan voor PayPal en begin direct met het accepteren van creditcardbetalingen.