|
Hello,
my questions are regarding dependent objects
(persistent, fine grained java objects (not entity beans) that depend on an
entity bean).
I am looking for some "best
practices".
* Is it recommended to use BMP or CMP entity beans
for persisting dependent objects ?
* Is it better to persist the dependent objects in
the ejbLoad/ejbStore or in the set/get methods of the bean ?
* How do I add the persistent objects to the
transactional context of the entity bean ? The case is clear if the bean is part
of a transaction and the isolation level is some kind of "write block", and thus
the dependent objects are not accessible for write access to non transaction
members, but what for optimistic locking ? Should I implement some kind of dirty
flag mechanism in my dependent objects ?
Any help would be appreciated
Nikolaus
|
- Session & Entity EJBs. Nikolaus Rumm
- Session & Entity EJBs. Tarun Dewan
- Re: Session & Entity EJBs. Frank Sauer
- Re: Design questions on dependent objects Leon Spencer
