CHAPTER 15Configuring JavaServer Faces Applications

Most server-side software technologies, Java or otherwise, require some kind of “configuration code” in addition to the actual application code. In the Java world, this configuration code is frequently written in an external XML file. One benefit of this approach is that configuration changes can be accomplished without having to recompile Java code. Another benefit is that it provides a central location for application configuration. For example, this can be especially helpful to developers who need to get an overview of managed bean interdependence within the application.

In the JavaServer Faces 2.0 release, Java annotations can be used as an alternate (or complimentary) configuration approach, ...

Get JavaServer Faces 2.0, The Complete Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.