Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Anil
Pagination in java
1 Answer(s)      3 years and 9 months ago
Posted in : Java Interview Questions


How to handle pagination when there are records like say in millions in java? Or do we handle this using SQL? I as asked this question in an interview.


Advertisement
View Answers

February 3, 2011 at 10:27 AM


Hi,

Its better to handle at SQL end. Just fetch the records you need and then display in Java. Database server will give you far good performance then Java pagination.

Thanks



Related Tutorials/Questions & Answers:
Pagination in java
far good performance then Java pagination. Thanks...Pagination in java  How to handle pagination when there are records like say in millions in java? Or do we handle this using SQL? I as asked
pagination
pagination  How to set pagination using java script to display data
Advertisements
pagination
pagination   Simple way for pagination in jsp using java script to display data without send database
Pagination
Pagination  How to apply pagination in JSP. Please help
Pagination
Pagination  How to implement pagination in struts using hibernate
Pagination
Pagination  How to create pagination in jsp with EJB using MS SQL
Pagination
Pagination  I want to write one where condition in sql query in pagination concept
Pagination
Pagination  Is their plug n play approach for creating pagination? 1) Server side as well as client side
Pagination
Pagination  I want to know how to use pagination in jsp. I have a list object from that i want to display 3 questions per page can u help me
pagination
pagination  I need to give pagination with where condition (query.......   Here is a simple jsp pagination code where we have used mysql database.... pagination.jsp: <%@ page language="java" %> <%@ page import="java.sql.
pagination
pagination  I need to give pagination with where condition (query="select * from qtn where qid='"+replyQuesionId+"'limit "+iPageNo+","+showRows+"" ) like this I want, without where condition it is working but with condition
Pagination
Pagination  showing missing expression.pls correct it <%@ page contentType="text/html;charset=windows-1252"%> <%@ page language="java" %>...=rs2.getInt("cnt"); } %> Pagination of JSP page Terr_Code Terr_Name
pagination
code of pagination. In the given code,we have taken the database table student(rollNo,name,marks,grade). <%@ page language="java" %> <%@ page import...;Pagination of JSP page</h3> <body> <form> <input type="hidden
Pagination
Pagination  pagination in jsp   Hi Friend, Try the following code: <%@ page language="java" %> <%@ page import="java.sql.*" %>...()) { totalRows=rs2.getInt("cnt"); } %> <html> <h3>Pagination of JSP
pagination
pagination  how can i start pagination in jsp?   Hi Friend, Try the following code: <%@ page language="java" %> <%@ page import...;Pagination of JSP page</h3> <body> <form> <input type="hidden
Pagination
Pagination  <%@ page language="java" contentType="text/html; charset=ISO-8859-1 pageEncoding="ISO 8859-1"%> <%@ page import="java.util., java.sql., sun.jdbc.rowset.*" %> [insert your title here
write a java program for pagination which will be configured by end user
write a java program for pagination which will be configured by end user  write a java program for pagination which will be configured by end user...;Java
write a java program for pagination which will be configured by end user
write a java program for pagination which will be configured by end user  write a java program for pagination which will be configured by end user
Java Pagination
Java Pagination Pagination is the simplest and standard way of handling large amount of database records. It breaks the data into several manageable chunks. Here, we are going to create paging and displaying records in JTable using java
jsp pagination
jsp pagination  I want to implement pagination on jsp page Each jsp page having some radio buttons, on click of next previous page selected radio buttons are reset. I want to maintain state of selected radio buttons on previous
pagination in jsf
pagination in jsf  Hi , i am implemeting an online exam system , i have placed my questions as an arraylist in my jsp file within tag , but now i want to paginate these questions based on respective questions by clicking
jsf pagination
of pagination. In the given code,we have taken the database table student(rollNo,name,marks,grade). <%@ page language="java" %> <%@ page import="java.sql.*" %>...()) { totalRows=rs2.getInt("cnt"); } %> <html> <h3>Pagination of JSP
JSP Pagination
to be shown, I want to implement Pagination.. Can someone show me a sample code which I could possibly use??   JSP Pagination pagination.jsp: <%@ page..."); } %> <html><h3>Pagination of JSP page</h3> <body><
Hibernate Pagination
In this tutorial we will discuss concept of pagination in hibernate
Pagination in jsp - JSP-Servlet
Pagination in jsp  I need an example of pagination in JSP using display tag
Two Pagination in one page
Two Pagination in one page  hai friends any one help me. how do u make two pagination script in same page i'm used some ajax coding one pagination script is working but another pagination is not working please help me urgent
Pagination example with html code
Pagination example with html code  Hi, could u please provide pagination code with clear cut explanation. Thanks in advance
pagination in hibernate with jsp
pagination in hibernate with jsp  Hi, plz give me example on pagination .   Hi Friend, Visit Here Thanks
pagination - JSP-Servlet
pagination  Hi, could u tell me how i will handle pagination... friend, Simple pagination in jsp Simple pagination in JSP... Simple pagination in jsp Displaying Records
 

 

 

DMCA.com