This chapter describes in detail how to build and run simple examples that use CDI. The examples are in the following directory:
To build and run the examples, you will do the following:
1. Use NetBeans IDE or the Ant tool to compile and package the example.
2. Use NetBeans IDE or the Ant tool to deploy the example.
3. Run the example in a web browser.
Each example has a
build.xml file that refers to files in the following directory:
The following topics are addressed here: