New open source project: Product Catalogue Engine

Together with some colleagues from Technopolis we recently started PCE, an open source project for managing products and business rules. Why PCE? The need for a framework like PCE stems from the recurring task of having to manage, persist, retrieve and display products (or for that matter entities that can be viewed as products) of … Continue reading New open source project: Product Catalogue Engine

Non-blocking JDBC with the Asynchonous Mysql connector

Event driven application architecture If you've been following Hackernews or my favorite, the Highscalability blog, you can't have missed the trend towards event driven server applications which are inherently different from the request-per-thread based design of traditional web applications. Event driven applications evolve around asynchronous, non-blocking APIs and use few threads, typically around the number … Continue reading Non-blocking JDBC with the Asynchonous Mysql connector

Annotations, Java compiler and missing debugging information

So I play with my favorite ant build script and a day later nearly every annotation is broken: java.lang.IllegalStateException: No parameter name specified for argument of type [java.lang.String], and no parameter name information found in class file either. as far as the eye goes. What actually happened is that the new deployment skips debugging information … Continue reading Annotations, Java compiler and missing debugging information

Tomcat, Eclipse, Spring and reloading

As a  webapp gets bigger the time it takes to boot also increases which is a serious factor contributing to decreased focus and productivity when programming. When running Tomcat with Eclipse, the web application may restart even for the most trivial changes incurring long pauses. I found the following settings for Tomcat to minimize restarts … Continue reading Tomcat, Eclipse, Spring and reloading

Non-Latin characters, openID and the openid4java library

The openid4java [1] library is a very handy set of components that handles openid and oauth for java applications and definitely worth a look before you capitulate in frustration before all that modern openid stuff. For those of us living and working outside the 7bit-speaking ANSI niche there is one webserver setting to verify: the … Continue reading Non-Latin characters, openID and the openid4java library