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).
Disclaimer
I am a very opinionated software engineer. Well I'm a very opinionated person in general. I work for eBay/Marktplaats.nl, but everything written here is my own crazy ideas and not my employer's. This text might have some similarities to the disclaimer found at fupeg.blogspot.com.
Categories
Archives
Art
Friends
ICT
java
Static pages
Category Archives: java
multiproject maven2: getting the site to work
When generating a project site for a multiproject setup as described in my previous post many people run into the same problem. The links to the different modules don’t work when you use the ‘site:site’ target. A couple of solutions … Continue reading
Posted in java, maven
Leave a comment
Getting started with multiproject maven2
I’m helping a group of students to split up their codebase into a couple of manageable project using maven2 as the build tool. Their existing project is a layered Spring MVC web application. The following layers are present: data model … Continue reading
Posted in java, maven
3 Comments
Installing Leopard
No, don’t worry… it’s not me installing Leopard on my MacBook. My wife managed to install Leopard without much help. Everything went smooth and Leopard runs really well. First impressions are (although it lacks Java 6) quite good; I really … Continue reading
Posted in java
Leave a comment
Connecting JConsole to a Java process: the missing -D option
Once in a while I tend to use JConsole for basic profiling of a Java process. Somehow I always forget which flag I need to set to enable remote connections to a process. And yes, I know the option is … Continue reading
Posted in java, jconsole
Leave a comment
LazyList based on the Google Collections Library
In my previous post I mentioned implementing the Google Collections counterpart of the commons-collections LazyList. I’ll refer to the Google Collections Library as GCL from now on. The LazyList decorates another List to create objects in the list on demand. … Continue reading
Posted in java
4 Comments
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 … Continue reading
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 … Continue reading
Posted in java
2 Comments
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 … Continue reading
Posted in java, wicket, wwb
2 Comments
Presentation: Introduction to Spring MVC
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 … Continue reading
Posted in java, spring, spring mvc, workshop
Leave a comment
Unittesting e-mail sending using Spring
In previous projects I mostly skipped writing tests for sending mail. Mostly due to the fact that there is a dependency on a working SMTP server. This time I decided to invest some time in finding a solution for this … Continue reading