I am currently designing a set of Web Services using JAX-WS and the bottom-up approach.
The problem with some of my services is that they will be used for reporting activities, and therefore they are very likely to return large volumes of data. My biggest concern is obviously the response time from a client's perspective.
I am looking at different options:
Pagination: this involves modifying my operations and making them aware of the large volume of data returned by adding one or several parameters in order to select the page or chunk of data to be retrieved.
Data filtering: this one also involves altering my service by adding an operation parameter to filter the data by some criteria.
After doing a lot of research, it looks weird to me that there are not best practices in this area, as I pressume I am not the first one to come across this problem.
Can anyone provide some advice or point out resources where I can find information on this issue?
Thanks in advance.