This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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