The four source files for the simplegreeting example include the following:
The default Greeting class, shown in Beans as Injectable Objects
The @Informal qualifier interface definition and the InformalGreeting class that implements the interface, both shown in Using Qualifiers
The Printer managed bean class that injects one of the two interfaces, shown in full in Adding Setter and Getter Methods
The source files are located in the following directory:
tut-install/examples/cdi/simplegreeting/src/java/greetings