Solved

Java pagination without pagination

Posted on 2010-11-11
4
342 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now