Implemented a CDI sample in the web archive.
Made CDI sample more interesting.