DataTables logo DataTables

via Ad Packs
Getting large data from web service call
  • anjibmananjibman
    Posts: 85
    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?

    List<InboxTransmission> inboxList = new ArrayList<InboxTransmission>(); //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.
    

    Any help will be appreciated.


    Thanks,
    Anjib
  • anjibmananjibman
    Posts: 85
    Can anyone help?
This discussion has been closed.
← All Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Support

Get useful and friendly help straight from the source.

In this Discussion