I'm almost ready to implement my Cayenne objects in my project
and I would like some advice. I'm working with a game server that
will host thousands of players, npc:s and items. Properties will be
For example. When a player logs into the game. Should I get all
properties from the DataObject once and store them in fixed
fields? I could use a load() and save() method that communicates
with the DataObject.
Or should I simply extend the DataObject and used the geters and
seters supplied? I'm mainly concerned with performance. I noticed that
the DataObject stores all its values in a Map.
I'm also unknowledgable of how the values are being read. How
they are cached. And if there is a difference between how values
and lists used in many-relationships are stored.
Any advice on how to proceed would be appreciated.
This archive was generated by hypermail 2.0.0 : Thu Jun 24 2004 - 08:47:47 EDT