I have some questions on this subject.

1) In the spec, a phrase is often used, but I can find no definition for it.
What does the phrase "this method will be called in the proper transaction
context" mean?  Specifically, does this statement imply that the method will
always be called within a transaction?

2) The sequence diagrams for entity beans with BMP show the underlying
persistent store, represented by "database" on the diagram, registering
itself with the same transaction service controlled by the
javax.jts.UserTransaction.  How can this be?  My persistent store may be a
legacy system that knows nothing about EJB, how could it know to register
itself with the server's transaction mechanism?

3) Let's say that I update two entity beans with BMP within the same
transaction.  I commit the transaction, and the container calls ejbStore on
the first bean.  This succeeds, and the container calls ejbStore on the
second bean.  During this call, the underlying persistent store rejects the
update.  Now, it would seem that there is no way to rollback the
transaction.  If the container calls ejbLoad on the first bean, it will load
the data it just stored.

Any help in understanding these issues would be appreciated.

Chip Wilson
ObjectSpace

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to