In this chapter, we learned how to implement lazy loading by enhancing the backend service methods to support it. We learned how to use a lazy-loaded Grid component with filtering and ordering capabilities. We implemented a DataProvider by providing two lambda expressions: one for getting slices of data and one for counting the total number of items. We also discussed UX aspects to take into consideration when dealing with large datasets and learned how to implement infinite lazy loading as an alternative to having a Grid with thousands of rows.
This chapter closes the journey through many interesting topics related to modularization, API design, UI design, and data management in applications developed with Vaadin. There is much more to this subjects that we cannot cover in this book. Hopefully, this book inspired you to find good solutions to some of the challenges you...