Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compare serverside pagignation with client side pagignation

 
Ramesh Sengani
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I worked with two apis 1) display tag and 2) Jquery datatables

Display tag fetch page size data each time from database and showing in jsp page. while Jquery datatable fetch all data at one time and store in Java script array and showing from them.

I am confuse which is better , based performance?

thanks in advance.....





 
Akhilesh Trivedi
Ranch Hand
Posts: 1607
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you have added the word 'performance', i think anything that doesn't require a server or db hit should be good.
 
Cole Terry
Ranch Hand
Posts: 45
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which is better depends on the amount of the data that is sent to the client:
- if the amount of data is small, using JQuery is better.
- if the amount of data is big, using serverside pagination is better.
 
Ramesh Sengani
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks to all...........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic