Discussions

General J2EE: How to page using EJB through a 10000's of results efficiently

  1. I have encountered this problem more than once. Is there a way to scroll through a large result set from a dB.

    Are there any "patterns" developed for this problem in J2EE??


    Thanks.
  2. Have a look at the page-by-page iterator on the sun site. It might be what you are looking for.

    http://java.sun.com/blueprints/patterns/j2ee_patterns/page_by_page_iterator/index.html

    Regards,

    Stephen.