aspose file tools*
The moose likes Other Open Source Projects and the fly likes compare serverside pagignation with client side pagignation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "compare serverside pagignation with client side pagignation " Watch "compare serverside pagignation with client side pagignation " New topic
Author

compare serverside pagignation with client side pagignation

Ramesh Sengani
Ranch Hand

Joined: Nov 23, 2011
Posts: 36
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

Joined: Jun 22, 2005
Posts: 1558
Since you have added the word 'performance', i think anything that doesn't require a server or db hit should be good.


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Cole Terry
Ranch Hand

Joined: Nov 23, 2011
Posts: 45
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

Joined: Nov 23, 2011
Posts: 36
thanks to all...........
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compare serverside pagignation with client side pagignation