Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

paging resultsets-Whats best?

843835Jan 4 2003 — edited Jan 28 2003
I have gathered that there is basically 2 ways to set up paging for result sets.
1) Put the data in a collection such as a Vector then cycle through the Vector.
2) By moving the cursor forward/backward in the database and re querying for each page.
Now my question is this, which way is best.
I am using MySQL 3.23-Max, Tomcat 4.1 Running on Redhat.
I have about 10 tables that contain an average of 35 fixed length columns.
We could have as many as 5000 concurrent users.

Any opinions on this topic would be greatly appreciated!
Or if anyone knows of a better/different way of paging resultsets I would greatly appreciate hearing from them.


Thanks

Gerald
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 25 2003
Added on Jan 4 2003
11 comments
263 views