Source code of the registration sample from CDI live coding sessions (incl. some CDI 1.1 features)