JSF 2.0 Ajax (Java EE 6)

Topics 

  • Ajax overview 
  • Ajax request handing in JSF 2.0 
    • Partial execution & partial rendering 
  • Ajax support in JSF 2.0 
    • Using JavaScript function 
    • Using tag

Ajax Overview

Why Ajax? 

  • Asynchronous communication replaces "synchronous request/response model." 
    • A user can continue to use the application while the client program requests information from the server in the background 
    • Separation of displaying from data fetching 
  • "Partial screen update" replaces the "click, wait, and refresh" user interaction model 
    • Only user interface elements that contain new information are updated asynchronously (no interruption to user operation) 
    • The rest of the user interface remains displayed without interruption (no loss of operational context)

You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.