O'Reilly logo

JavaServer Faces 2.0 by Chris Schalk, Ed Burns

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8Converting and Validating Data

This chapter examines in detail two important topics for all Web applications: data conversion and validation. JSF has software components to handle this aspect of Web application development. Data conversion is handled by converters, while validation is handled by validators. The main point of conversion is to guarantee that the application’s business logic only deals with data that is of the expected Java language type. The main point of validation is to assure that the properly typed data has been validated against the application’s specific constraints. Systems that make such a guarantee allow for easier-to-develop business logic, since most of the tedious error checking and error handling is done outside ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required