Thanks for your quick reply,
The problem is in both cases, retrieving data from database and rendering the extracted data and rendering the data in the UI. We have fine-tuned the database part by implementing indexing on database. But the Virtualizer in JasperReports is helping us out.
Please suggest some alternatives to solve this problem.