Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Next" button functionality

 
Katerina Karen
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application implemented im J2EE.On the screen I have a table wherein I display 5 records at a time.At the bottom of the table there is a "Next" button to fetch more records.So how is this "Next" button functionality implemented?Do I get all the records from the database put it in a cache and then keep iterating and keep showing 5 records on screen or everytime "Next" button is hit I go to the database and fetch the next 5 records?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Katerina" is not a valid display name according to our naming policy. Please change it (hint: you need a last name).
Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic