This tutorial code shows how to write a simple CDI extension.