1 Reply Latest reply on Jul 19, 2010 3:29 PM by Stan Silvert

    What approach to follow for generating huge files on the fly?

    som moh Newbie

      Hi,

      I am developing a application in JSF which has huge reports in pain text to be downloaded. The users who access these reports work in low bandwidth networks (<64kbps). We have to query the database tables(around 1million table entries would be fetched) and then make a report in plain text and then throw that file to the user for download. This must be done on the fly. Please let me know what is the data structures to be used and how can we approach so that performance is not hit and downloading and generation of report is faster.

      Any code snippets would be really good.

      Thanks,

      Som