I have to display data from servlet to Jtable and send the updated data if any back to servlet. The JTable is going to be really really big,atleast 20 columns by <god only knows how many> number of rows.
I have implemengted some of our look and feel requirements but am thinking about this all of the time and can't get it out of my mind!
Was thinking that if therfe are say 100,000 cells then send them first from servlet to GUI and then send the next 100,000 and so on.Am a bit unclear abt this but I am afraid of getting OutOfMemoryError
Please note that this whole process should be transparent to the GUI user ,they shouldn't know about it and the changed data has to be sent back to servlet.
So what is the best and most efficient way to do that? Any ideas ? Using DefaultTableModel's vector of vector is really appealing for ease of use but it is a memory hogger? I hope i get some really good advice.
Also how to update the cell data ,it is going to change in the order of atleast 1/2 secs or more ? should I use a thread for the Notifier using Observer pattern?
I will come and look on monday! have a nice weekend.