• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

best pagination practise to follow

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic