I am working on JSF application which runs on IBM websphere portal. It is search application. We uses web service to get data on searched criteria. Since web service takes while to return data from service so we are planning to use ajax to load data in jsf datatable. So Idea is to display dynamic image in the div as long as data is not available and once data is IN we will replace dynamic image with jsf datatable with data.
Could any one suggest how to make asynchronous call to pull data from web service.
I would really appreciate if you help me on this.