This week's book giveaway is in the OCP forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests and have Scott Selikoff and Jeanne Boyarsky on-line! See this thread for details.
I think if you want all the data in a table you would return a collection of DTO. DTO is an encapsulation of the state of an object. It's meant to avoid the performance hit of getting state in a distributed application.