Quantcast
Channel: Reza's Weblog
Viewing all articles
Browse latest Browse all 50

How to handle returning a large result set to user?

$
0
0

Question: How to handle returning a large result set from database to users of a JavaEE web based application?

This question may have many answers but in the context of our project we came to the following simple solution after hours of discussion:

  1. Use stateless beans or similar to make the call scalable
  2. Use a variation of iterator pattern to limit the amount of data returned in each call
  3. Cache


Viewing all articles
Browse latest Browse all 50

Trending Articles