Documentation



Java Platform, Enterprise Edition: The Java EE Tutorial

26 Running the Advanced Contexts and Dependency Injection Examples

This chapter describes in detail how to build and run several advanced examples that use CDI. The examples are in the tut-install/examples/cdi/ directory.

To build and run the examples, you will do the following.

  1. Use NetBeans IDE or the Maven tool to compile, package, and deploy the example.

  2. Run the example in a web browser.

See Chapter 2, "Using the Tutorial Examples", for basic information on installing, building, and running the examples.

The following topics are addressed here:

Close Window

Table of Contents

Java Platform, Enterprise Edition: The Java EE Tutorial

Expand | Collapse