Hi Stefan,
No problem. My company is currently looking into running a project
based on RIFE, so hopefully I will be able to contribute to RIFE
more in the not-too-distant future. Maybe in the form of a sibling
project or by helping with the Eclipse integration or something
like that. Oh, that would be fun. ;)
That sounds all very interesting :-)
Please note that I'm not the big expert in persistence, so I may
be totally wrong in every regard. But on the other hand, maybe
this provides some ideas to make persistence easier in RIFE. I
did not look at RIFE constraints in-depth yet, but from what I
saw, references to other objects are more complex than in this
example.
One thing I'm wondering about is the loading of the object
references. Does Ammentos automatically load all the references to
other objects? Does it do so recursively?
Ammentos has this class:
public class EntityList<T> extends ArrayList<T> implements
EntityCollection
This class has a method called "touch()" that is called whenever
something in the list is accessed. It checks whether the list (and
all objects in it) is already in memory. If it isn't, the method
load() gets called and loads all objects in the list.
Interesting, this sounds like a nice solution for collections of one-
to-many associations. However, how do you handle one-to-one
associations? Are the always loaded?
Best regards,
Geert
--
Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users