Sunday, June 15, 2008

Lazy loading from a Topic Map


  1. Load topics from my.xtm

  2. Car.list()

  3. [car1, car2].isAlsoA(Boat.class) - Which of these cars are also a boat. Or by using another context query


Why dynamic - Later ask for things that is only known to the TM. Define the relations statically by Interface, when needed.

Objects contain no state/reference to other objects. The TM has this information, and it depends on context.

Define which domain class are to be decorated. Some functions like list are generic, while owthers such as car.isAlso(Boat.class) have to be known how to build by query API

No comments:

Post a Comment

Spam will be pruned