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

5 comments (by Dragomi, Dorothy, Elmira) | 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, 4 years and 190 days ago. Viewed 11,753 times. #20
[diff] [history] [edit] [rdf]

Icon-Comment Elmira, one year and 337 days ago. Icon-Permalink

Very true! Makes a cahgne to see someone spell it out like that. :)

Icon-Comment Dorothy, 130 days ago. Icon-Permalink

Right on-this helped me sort tihngs right out.

Icon-Comment Dragomi, 128 days ago. Icon-Permalink

Hello sirwill the tutariol tictoc given on omnetpp.org web site work properly?because when i issue the command make, i get a message Tictoc not present , check .ini or .ned files.i'm following the steps given in the tutariol , yet i get this error message, please give me the solution.thanks with regardsManjula

Icon-Comment Dragomi, 128 days ago. Icon-Permalink

Hello sirwill the tutariol tictoc given on omnetpp.org web site work properly?because when i issue the command make, i get a message Tictoc not present , check .ini or .ned files.i'm following the steps given in the tutariol , yet i get this error message, please give me the solution.thanks with regardsManjula

Icon-Comment Dragomi, 128 days ago. Icon-Permalink

Hello sirwill the tutariol tictoc given on omnetpp.org web site work properly?because when i issue the command make, i get a message Tictoc not present , check .ini or .ned files.i'm following the steps given in the tutariol , yet i get this error message, please give me the solution.thanks with regardsManjula
Name
Email:




news




RSS News Feed:

RSS Feed

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