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 ...

Get AJAX and JavaServer™ Faces 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.