27. JavaServer™ Faces Web Apps: Part 2

Whatever is in any way beautiful hath its source of beauty in itself, and is complete in itself; praise forms no part of it.

—Marcus Aurelius Antoninus

There is something in a face, An air, and a peculiar grace, Which boldest painters cannot trace.

—William Somerville

Cato said the best way to keep good acts in memory was to refresh them with new.

—Francis Bacon

I never forget a face, but in your case I’ll make an exception.

—Groucho Marx

Objectives

In this chapter you’ll learn:

• To access databases from JSF applications.

• The basic principles and advantages of Ajax technology.

• To use Ajax in a JSF web app.

Outline

27.1 Introduction

27.2 Accessing Databases in Web Apps

27.2.1 Setting Up the Database ...

Get Internet & World Wide Web: How to Program, Fifth Edition 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.