Archive for the 'java' Category



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 [...]

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 [...]

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 [...]

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 problem.
It didn't have to look very far to find Wiser. Wiser is a very simple [...]

Grails - Soap

Since working with, or creating WebServices is something webdevelopers will probably do regularly (or stumble upon in the very near future) I decided to have a look at Grails' support for SOAP.
First thing I wanted to see was how to expose a Grails service via Soap. Due to the excellent documentation at the Grails website [...]

During Graemes' demo of Grails at javasummercamp he briefly pointed out the fact that one can implicitly use the Groovy MarkupBuilder (Similar to the Markaby DSL for Ruby) within the render method of an action for generating markup.
Which makes writing an RSS feed for you application really easy:
PLAIN TEXT
GROOVY:

def feed = {

  def results [...]

Yesterday I visited Proficts' Java Summercamp called "Rails en Grails en Java: Nieuwe talen op de JVM". Which in essence should have been a small seminar
on the topic of new languages on the JVM. In reality Charles Nutter presented JRuby, and its' current state and Graeme Rocher did a presentation on Groovy and Grails.
Both presentations [...]

From the corner of my eyes I noticed something in the latest IntelliJ release: a Groovy and Grails plug-in.
The screenshots on the Jetbrains website showing of Smart type inference, Cross-resolution between Groovy and Java classes and Smart code navigation assistance with structure view, class and usage make me want do download and use IntelliJ [...]

Grails - associations

After going through the Grails documentation I decided to get my hands dirty and actually try and build something. 'Todo' style applications aren't too interesting, but quite useful to test basic stuff.
Getting started
After installing Grails I moved on to creating a new application:
grails create-app ptodo
This creates a fully working webapplication, very similar to the basic [...]




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

IMG_4618.JPG bridge _MG_8016 IMG_6147 Golden Gate flower DHH via IChat IMG_4552.JPG Band Photo Sjoerd met speer nearby hotel Picture 2 oldtimer Sjoerd op de Sallandse Heuvelrug (en de rug van papa) trap (II) Moscone Center - JavaOne nice place to park a bike IMG_4597 robin_met_zijn_hyundai_horloge_foon
View more photos >

Categories



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