That sample shows you ArrangeableModel implementation in order to perform in-db sorting filtering and paging of the data

While exploring sources pay most attention to JPADataModel which is actually generic abstract model which have most of the functionality implemented.

PersonBean provides the sorting/filtering controller and instantiates concrete model for Person entity

We using JPA and Hibernate entity manager in order to work with the db.