Solved

Java pagination without pagination

Posted on 2010-11-11
4
345 Views
Last Modified: 2012-05-10
Hello,
The application I am working on is quite old web application and currently we display number of records without pagination but now the records size is getting increased everyday and as per the client who uses this application does not want to change any view in the application i.e. we can not implement pagination but now when user runs the report, JVM runs out of heap size. Actually I have no where to go that is there any way without implementing pagination we can run the report with large data. Actually we run the report in HTML, Excel and CSV format.

Thanks,
dojjol

0
Comment
Question by:dojjol
  • 2
4 Comments
 
LVL 16

Expert Comment

by:Valeri
ID: 34113823
make "pagination" during reading the data from the DB server.
instead of reading 50000 records at once and placing them on some map, read them 50 times per 1000 records, place these 1000 on the report, then read the other 1000 and so on...
0
 
LVL 5

Expert Comment

by:jcott28
ID: 34114255
MAybe look into CachedRowSet
0
 

Accepted Solution

by:
dojjol earned 0 total points
ID: 34115077
Hey Valeri,
Could you pls provide sample or url link for the same.

Thanks,
Ankur
0
 

Author Closing Comment

by:dojjol
ID: 35458524
did not get enuf help
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
V.simple question about Android packages and libraries 1 29
javap bin 2 40
Error in @AspectJ Based AOP with Spring 2 18
pagenation logic how it is working in my code 1 52
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question