Home > Store > Programming > Java

AJAX and JavaServer™ Faces (Digital Short Cut)

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Extras
  • Sample Content

Based on material from the forthcoming second edition of Core JavaServer™ Faces by David Geary and Cay Horstmann, this short cut explores how to use JavaServer Faces and AJAX (Asynchronous JavaScript with XMLHttpRequest) to create rich user interfaces. Starting with a brief review of Ajax fundamentals, it goes on to cover

  • Implementing Ajax with a servlet in a JSF application
  • Using JSF phase listeners for more complex Ajax scenarios
  • Form completion and real-time validation
  • Accessing UI view state from an Ajax call
  • Client-side state saving and Ajax
  • Direct Web Remoting with DWR

Finally, after concisely explaining JSF components that wrap existing JavaScript components using Prototype, Scriptaculous, Dojo, and Rico, this Short Cut briefly explores how to use the Ajax4jsf framework to seamlessly integrate Ajax into JSF applications.

Excerpts

Download the excerpt

Table of Contents

Introduction 3

Ajax Fundamentals 3

JavaScript Libraries 8

Form Completion 9

Real-Time Validation 14

Propagating Client-Side View State 21

Direct Web Remoting (DWR) 23

Ajax Components 28

Ajax4jsf 40

Conclusion 64

About the Authors 65

 
Add To Cart

Short Cut  $14.99

About this Short Cut

This PDF is DRM-free and requires the free Adobe® Reader® software. The PDF will be accessible from your Account page after purchase. Read our Non-DRM PDF FAQ.

Safari Books Online

What is this?

Online access to books, videos, and tutorials from Addison Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media and others - starting as low as $22.99. Learn more and start a free trial.

Start Reading Online
Informit Network