This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

best pagination practise to follow  RSS feed

 
felix thomas
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

old nyone tell me the best practise to follow pagination in a jsp or Servlet . Suppose many database has a million records, which is the best and fastest to follow.
 
Paul Frey
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been looking into the same thing myself with a DB2 connection. Searches on Google have returned many different options, none very elegant. One thing that I've found just recently is the CachedRowSet interface that is supplied in J2SE 1.5. It was also available separately in J2SE 1.4. However, the reference implementation does not support paging. I'm still looking if any JDBC DB2 vendor has an implementation of this interface. I have followed a trail that said that Oracle does have an implementation with paging. But I haven't found the actual code yet.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!