Chapter 18
Running the Basic Contexts and Dependency Injection Examples
This chapter describes in detail how to build and run simple examples that use Contexts and Dependency Injection for the JavaTM EE Platform (CDI).
The examples are in the following directory:
tut-install/examples/cdi/
To build and run the examples, you will do the following:
Use NetBeans IDE or the Ant tool to compile and package the example.
Use NetBeans IDE or the Ant tool to deploy the example.
Run the example in a web browser.
Each example has a build.xml file that refers to files in the following directory:
tut-install/examples/bp-project/
See Chapter 2, Using the Tutorial Examples, for basic information on installing, building, and running the examples.


