Hey
Almost but not quite ;-)
> >4. What are the advantages in using bean-managed transaction instead of
> >container-managed ones?
> If you use bean-managed transactions then, since you write the code for the
>bean, it's up to you to write the code for its transactions. Using CMP > means that
>you take advantage of the fact that the coder who made the container has told it how
>to do transaction processing.
CMP is a persistence term, so it doesn't make sense when talking about
transactions. Using container managed transactions is coded by container
provider, true, but exactly when the transactions should
begin/commit/etc is specified by the bean developer in the deployment
desriptor.
> >7. Is it true that an entity bean is compelled to use container-managed
> >transaction? Why?
> It isn't true. (see above)
>
> Are you sure that you are talking about transactions or do you mean bean/container
>managed persistence?
Well, the Q is perfectly valid for transactions.. but I understand why
you ask :-)
/Rickard
--
Rickard �berg
@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684
===========================================================================
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".