type=page
status=published
title=Running the Basic Contexts and Dependency Injection Examples
next=cdi-basicexamples001.html
prev=cdi-basic015.html
~~~~~~
= Running the Basic Contexts and Dependency Injection Examples


[[GJBLS]]

[[running-the-basic-contexts-and-dependency-injection-examples]]
26 Running the Basic Contexts and Dependency Injection Examples
---------------------------------------------------------------


This chapter describes in detail how to build and run simple examples
that use CDI.

The following topics are addressed here:

* link:cdi-basicexamples001.html#A1250045[Building and Running the CDI
Samples]
* link:cdi-basicexamples002.html#GJBJU[The simplegreeting CDI Example]
* link:cdi-basicexamples003.html#GJCXV[The guessnumber-cdi CDI Example]
