Conclusion
In this short cut, we have explored implemeting Ajax with JSF, from a simple example that implements Ajax by hand to coverage of the Ajax4jsf open source framework.
Simple Ajax interactions are pretty easy to implement, and in fact, do not even require much knowledge of how JSF works. However, for more complicated cases, you really need to have a good grasp of JSF fundamentals, especially familiarity with the JSF life cycle.
The popular Ajax4jsf open source framework lets you easily add Ajax functionality to JSF applications. But as we saw in the last example of this short cut, that ease-of-use does not obviate your need to understand the fundamentals of the JSF life cycle.
Rich, interactive user interfaces are undoubtedly the future ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access