Getting large data from web service call

Getting large data from web service call

anjibmananjibman Posts: 115Questions: 10Answers: 0
edited June 2012 in General
Hi All,

I have a web service call which return large number of data (>500 records) from the Database. I have no control of web service so I can't change SQLs to get data in chunk. I am calling web service method and storing data in Collection then sending that data to browser where browser do formatting and load in DataTable. This process takes so long that browser always complains about timing out while script running. What will be best approach to solve this problem?

[code]
List inboxList = new ArrayList(); //Collection varaible declaration
inboxList = InboxService.getInstance().getTransmissionList(userName); // use service layer to call web service method
request.setAttribute("inboxList", inboxList); //Put data into request object.
[/code]

Any help will be appreciated.


Thanks,
Anjib

Replies

This discussion has been closed.