JSF Best Practices Tutorial

Date: 2017-05-30
This tutorial explores JSF best practices, focusing on efficient parameter passing and avoiding overuse of session scope for managed beans. It details several methods for passing values to handlers, including f:setPropertyActionListener
, f:param
, and f:attribute
, comparing their advantages and disadvantages. The article also highlights the use of JSF's Flash feature for passing data between views and emphasizes the importance of using session scope judiciously, primarily for user authentication and other session-wide data. Improper use of session scope can lead to unexpected behavior and performance issues.
Read more: https://examples.javacodegeeks.com/enterprise-java/jsf/jsf-best-practices-tutorial/
Subscribe to my newsletter
Read articles from Yatin B. directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
