What about using AjaxLazyLoadPanel? Another solution could be: when page is
loaded, call from javascript a callback which will initiate an ajax call
responsible for updating each component. I did something similar, but using
other technologies (struts + dwr)... I think there could be similar approach
also with wicket.

Alex Objelean


Martin Tilma wrote:
> 
> Hi all,
> 
> I have a page and it's a bit slow and I want to speed it up, but don't
> know a proper solution.
> 
> The case:
> 
> I have a page that contains 5 components showing different data
> retrieved from a webservice. Each webservice call takes about 1 second.
> Besides that I have 2 buttons who's visibility is based on data from
> also the same slow webservice. In total there are 7 calls taking about 7
> seconds to finish and to render the page.
> 
> I could cache the data, but that will only work the second time. I was
> thinking about a way to preload the data and maybe use different threads
> so the calls don't have to wait for each other...
> 
> 
> Any ideays?
> 
> Martin
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-speed-up-a-page-that-uses-data-from-a-slow-webservice-tp24474082p24475195.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to