I need to do, when user enter number in input box and click on button to get data, then it call a java method which returns the Array list of records,now in jsp page data need to be store in table format. By jquery plugin adds pagination,searching and sorting.
The data i get from the method about 50k(records).
I followed this link to add pagination and all, https://datatables.net/examples/basic_init/alt_pagination.html
The problem with this, taking about 2 to 3 mins to load the page and causing system to be hang.
From the method data is coming within faster i.e, within seconds.
If it is 500 to 1000 records it displays faster. when data increases it causing entire system to halt. It prompt to continue or stop (js).
Errors : Prompt to continue or stop scripting. A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
And i tried without any scripts it taking max 2 to 3 mins....
Is their any feasible solution for this problem.