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

Eager Loading

Belongs to following categories: Utility, ULC6.0, UltraLightClient '08,

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

  • UltraLightClient 6.0: JDK 1.4.2
  • UltraLightClient 2008: JDK 1.4.2, JDK 1.5, JDK 1.6, Windows XP, Windows Vista, Mac OSX

Project setup with Eclipse

The project contains all necessary Eclipse project files and can be directly imported from the repository. The classpath in this project contains a entry named ULC Library, which locates the needed UltraLightClient libraries. For to use the ULC Library entry you have to install the Eclipse Java IDE Integration Plug-in that can be found at : >>ULC Integration Feature. A installation guide how to install plug-ins in Eclipse can be found at the Eclipse help pages: Workbench User Guide > Tasks > Updating and installing software.

Authors

>>daniel

no comments | post comment
labels
Category:Utility
Category:ULC6.0
Category:UltraLightClient '08
attachments
eagerloading-screenshot.png (22103)
eagerloading.war (1439165)
eagerloading.zip (97301)
Created by daniel. Last edited by andreas, one year and 126 days ago. Viewed 9,213 times. #20
[diff] [history] [edit] [rdf]




news




RSS News Feed:

RSS Feed

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