Year: 2011

Colours of ls

The ls command list the files and directories (and other items) in a given directory. It can be asked to colour the output that it produces to give you an indication of what each file is and what permissions it has. Since I always forget what colour means what here’s a handy list of what …

Colours of ls Read More »

Getting Started with JEE 6 – CDI Qualifiers

In the last article we developed an application that had two alternative implementations of an EJB based QuoteService which unfortunately ran aground because CDI couldn’t choose which of our implementation to use. In this article I’ll discuss how to let the system know which implementation to use by using CDI qualifiers.

Getting Started with JEE 6 – Multiple Implementations of an EJB

In the previous part of this series we developed an application that contained a simple no interface EJB which fed quotes to a QuoteBean which, in turn, supplied them to the JSF page. In this part I’ll modify the QuoteService to make it an interface and then provide two different implementations of that interface.