Ebean has a helper for making pagination of data easier. It's called a PagingList
there. Play's Finder
helper class for Ebeans allows you to get such a PagingList
for your query.
Say you want to display 50 items per page, and want to retrieve the items for the first page. Then you'd write something like this
public static List<dblp_pub_new> getpageItems(int page) {
int pageSize = 50;
return find.findPagingList(pageSize).getPage(page).getList();
}
Also, please note that your class name dblp_pub_new
is highly unusual. Refer to this question for more information.