The JSF framework makes it easy to display tabular data to the user. The
HtmlDataTable component abstracts many of the details involved in rendering a data set as HTML. For this reason, it is perhaps the most powerful standard JSF component.
As JSF is based on the Model-View-Controller pattern, it mandates a clear separation of concerns: the data structures and entities of our application are the "Models", the backing beans of our application are the "Controllers", and the UI components and JSF pages that constitute our presentation layer are the "Views".
HtmlDataTable component is a good example of how JSF implements the MVC pattern. The
<h:dataTable> tag renders this component as an HTML table and provides a nice adapter between ...