File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply 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
Greenhorn

Joined: Nov 23, 2011
Posts: 28
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: 1351
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
Greenhorn

Joined: Nov 23, 2011
Posts: 28
thanks to all...........
 
IntelliJ Java IDE
 
subject: compare serverside pagignation with client side pagignation
 
Threads others viewed
form updating using jsp
Pagination error in displaytags
Emulating Scrollbar behaviour
JSP and JDBC
Can AJAX be used to dynamically update any scoped variable storing a list of objects
MyEclipse, The Clear Choice