How to integrate JSF with Ajax ?
what is Ajax ? how it can substitute servlets ?
Ajax does not substitute servlets (or anything for that matter). It simply allows you to fool the user into believing that they connected to the database using Javascript witout submiting the form.