Entries Categorized as 'Java'

SMTP Dummy plug-in almost done

Date June 8, 2009

Post about the progress of the SMTP Dummy NetBeans plug-in

NetBeans Plug-in: SMTP Dummy

Date June 7, 2009

On Friday I went on-leave, and being a complete geek I quickly filled my time with some personal programming assignments. For a long time I’ve been wanting to look more into the NetBeans Platform and explore how to build stand-alone applications based on the platform. For the past ten years I’ve almost solely been developing [...]

Sending files through action listeners

Date March 16, 2009

For this weeks JSF tip, I’ll show you how to send binary data (such as a file) to the user by way of an action handler or listener. Say, you want to generate a custom PDF and send it to the user as he clicks a link. You need a JSF page, and a backing [...]

JSF and I18N

Date March 9, 2009

It has been a busy year so far. Every year I start out thinking that I really need to relax because the previous year was too hectic, but every year it ends up being much more hectic. Anyway, I thought I’d post a JSF quick time that might shave some headache for people developing internationalised [...]

Christmas present from Sun

Date January 2, 2009

Just as the year was ended I got a great Christmas present from Sun Microsystems. 1) A cool NetBeans 10 year anniversary T-shirt for participating in the community acceptance test programme for NetBeans 6.5 (NetCAT) 2) A pass on my exam to become Sun Certified Specialist for NetBeans IDE The exam was special to me [...]

Setting JAVA_HOME on Ubuntu

Date December 31, 2008

A thing that always annoys me about installing Java is that it doesn’t automatically set up the JAVA_HOME environment variable after installation. I guess this is to avoid having problems when you have multiple virtual machines installed. Anyway, I use Ubuntu Linux to host the majority of my Java Application Server. It is easy install [...]

Getting value expressions from f:attributes

Date November 24, 2008

If you have a custom converter or validator you may provide these with the option of letting developers specify attributes. For example, let’s say that we are creating a converter that will allow the formatting of a Calendar object. Note, that the <f:convertDateTime /> is for Date objects (which can be easily retrieved from a [...]

Replacing TopLink Essentials with OpenJPA as my persistence provider

Date October 24, 2008

During the development of my latest pet project I decided to go head-on with many of the latest Java Enterprise APIs. One of these was the Java Persistence API (JPA), which I had already used in a handful of projects before. On previous projects the persistence requirements were very simple. I could use JPA out-of-the-box [...]

MyFaces and Facelets – The Definitive Guide

Date October 9, 2008

For the past five months or so, I’ve had the pleasure of participating as a contributing author and editor of the recently released Apress publication, “MyFaces and Facelets – The Definitive Guide”. It was a great experience that I hope that I’ll be able to relive in the near future on other book writing projects. [...]

Project-based formatting in NetBeans 6.5

Date August 6, 2008

Being part of the NetBeans Community Acceptance Testing (NetCAT) Programme has definate advantages. For one, you get to try out all the new features planned and influence how they will work before being released to the general public (that is not quite true….anyone can download the daily development builds). One of the features in the [...]