Zip and Retrieve the ArrayList on the fly

betafear

New Member
I have a charting application, as shown below.Once the user has made a request for 10 Year Data (through the slider or through using from and to date fields), I am querying a MySQL database for getting chart data. The data will be in an ArrayList. As the data is very large, can I zip that data using java GZIP to transfer it from DAO to the servlet?Or will it be an extra burden?
lg4xh.png
 
Top