It depends on whether you want to swap on the client side or on the server side. If the server side, your web services will need to include some additional parameters (for example, "startFrom" and "pageSize"), which will allow you to specify which "page" of the data to be retrieved. You may also need to return the total size of the result so that you can create a paging control.
If you decide that too much effort you can do client side swapping in your bean support (or get the component to do it for you), however this is not recommended if you are talking about thousands of objects!
user7094
source share