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:
Use NetBeans IDE or the Ant tool to compile, package, and deploy the example.
Run the example in a web browser.
Each example has a build.xml file that refers to files in the tut-install/examples/bp-project/ directory.
See Chapter 2, Using the Tutorial Examples, for basic information on installing, building, and running the examples.
The following topics are addressed here:
The producermethods Example: Using a Producer Method To Choose a Bean Implementation
The producerfields Example: Using Producer Fields to Generate Resources
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4