This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 1526
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
 
Similar Threads
Can AJAX be used to dynamically update any scoped variable storing a list of objects
form updating using jsp
Pagination error in displaytags
Emulating Scrollbar behaviour
JSP and JDBC