UltraLightClient Code Community
[ start | index | login ]
Overview > Eager Loading

Eager Loading

Belongs to following categories: Utility, ULC6.0,

Purpose

This utility class improves ULC's built in lazy loading feature. The main disadvantage of ULC's current lazy loading implementation is the fact that it always requires an extra server round trip to fetch the data. This has the following drawbacks:
  • a significant delay over slow networks
  • twice as many round trips as necessary
  • intial data is blank as it is lazily fetched with an an extra round trip
  • updated data first becomes blank as it is lazily fetched with an extra round trip
eagerloading-screenshot

Resources

How to use

Register the provided EagerLoadingHandler as round trip listener. That's all!

...

ApplicationContext.addRoundTripListener(new EagerLoadingHandler());

...

Compatibility

The described functionality has been developed and tested using JDK 1.4.2_05 and ULC 6.0.2.1

Authors

>>daniel

no comments | post comment
labels
Category:Utility
Category:ULC6.0
attachments
eagerloading-screenshot.png (22103)
eagerloading.war (1118815)
eagerloading.zip (86493)
Created by daniel. Last edited by admin, one year and 287 days ago. Viewed 5,135 times. #14
[diff] [history] [edit] [rdf]




news




RSS News Feed:

RSS Feed

snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt