This is a discussion on [EJB] Best way to store some tree-like data? - Java ; I'm trying to persist some data in a tree-like fashion (just like folders on a hard-disc). I just wonder, if there is any best-practice/pattern on doing this? Any hints? I already found this nice paper http://research.calacademy.org/taf/p...llew/index.htm on storing tree data ...
I'm trying to persist some data in a tree-like fashion (just like
folders on a hard-disc). I just wonder, if there is any
best-practice/pattern on doing this? Any hints?
I already found this nice paper
http://research.calacademy.org/taf/p...llew/index.htm on
storing tree data tree-like and fetching it again with a single query.
This works perfectly well, when used inside some POJO, but I wonder if
there is a better way using EJB.
Regards,
Alexander