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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.