Archive | Code RSS feed for this section
Android: TouchDelegate tutorial

Android: TouchDelegate tutorial

I’ve been doing quite a lot of Android development lately. Most of the time the API Specification and Dev Guide are quite complete, but sometimes information is difficult to find. An example of this is the TouchDelegate class. According to the Specification TouchDelegate is a “Helper class to handle situations where you want a view [...]

Read more
My first Android apps

My first Android apps

First applications I build for Android: Sudoku, Video player, Time Widget, …

Read more

Devoxx 2009, day 3

Last day of Devoxx today, actually it was only half a day as the conference ended at 13h. Devoxx was a nice experience for me: interesting presentations from famous and less-famous speakers, a relaxed atmosphere and an opportunity to encounter old class mates or former colleagues. I heard many people say that the previous editions [...]

Read more

Devoxx 2009, day 2

Second day of Devoxx today! Unlike yesterday, traffic to the venue was bearable this time, so I arrived a bit early. This gave me plenty of time to wander around the exhibition and have some (free) breakfast. I had a nice talk at the booth of SpringSource: they offered a discount for their core Spring [...]

Read more

Devoxx 2009, day 1

Devoxx (formerly named JavaPolis) is an annual European Java conference organized by the Belgian Java User Group (BeJUG). Devoxx is one of the largest vendor-independent conferences in the world. Devoxx takes place in a cinema complex, located in Antwerp: Metropolis. Devoxx has 2 parts: 2 University days and 3 Conference Days. I have registered for [...]

Read more
HibernateException: Unexpected row count

HibernateException: Unexpected row count

For little more than a month I’ve been coaching a Junior Java Developer on a project for the Flemish Government. A couple of days ago, he came to me with a problem with his persistance layer.  The application uses an Oracle 10g database and uses Hibernate for Object Relational Mapping. Transactions and DI are configured [...]

Read more

Mutable accessors

Understanding the difference between mutable and immutable objects in Java is easy. Gaining access to both mutable and immutable objects is also easy … however methods accessing mutable objects require special attention. In every IDE I have used, it’s possible to generate public accessors (IE. getters and setters) for private fields. Most of the time, [...]

Read more

Muenchian Method

Last week I encountered a grouping problem when designing an XLST stylesheet. The application I’m working on, receives an input XML file, that has to be parsed and converted into a PDF document using Apache’s XSLFOP. The data in the XML file is structured in a way that is different from the structure of the [...]

Read more
WTFM

WTFM

Read more