Mapping composite primary keys in JPA How to work around a bug in Hibernate Annotations

A table without single-column primary key, Java developers don’t like them because it’s more work than just putting @Id on a field. When you’re using Hibernate Annotations you might also run into an annoying bug. In this article I will explain how to map a composite primary key with JPA-annotations […]

Getting started with Eclipse 3.3 WTP 2.0 and JSF – will this JSF editor beat JDeveloper?

A few days ago a brand new Eclipse release popped up in my RSS reader. Eclipse 3.3 with WTP 2.0. After browsing through the new features I was very surprised that it included a brand new JSF editor. I thought this sub-project died very slow and painful. What I will […]

Java Platform Debugger Architecture (JPDA) with Tomcat, OC4J, Eclipse, IntelliJ IDEA and JDeveloper

With JPDA it is possible to propagate changes to compiled classes to the server immediately. This is very handy when you’re debugging your class files. With some older applications you have to restart your application server many times to make changes. With JPDA this is history. In this article I […]

Unit testing Javascripts in Java 6 – Getting started with the javax.script api

I intended to reduce the things I do with Javascript. But maybe Javascript isn’t that bad when you can run it inside java. I’m still working on a very ‘interesting’  project with asp and Javascript files. Since I didn’t create a single JUnit for two weeks I thought it was […]

Using Lucene with Spring Introduction to Spring Modules

While preparing a Lucene presentation and workshop I came across Spring Modules. It’s a small set of libraries that does things the Spring-way. It isn’t included in Spring because it doesn’t belong to the ‘core-business’ of Spring. I’m not writing about the possibilities of Spring Modules,  I’ll only focus on […]

ADF Faces for MyFaces is now called Trinidad

Earlier this year Oracle donated their JSF UI components from ADF Faces to the Apache Software Foundation. Since ADF is more than a set of UI components it was decided to rename the donation to “Trinidad”. The name Trinidad was chosen because it matches with the other JSF subproject called […]