Hi Venkat,
Please read section 17.6.1 of ejb 2.0 specs. I think that will ans your
question. From what I have concluded, in most cases client's transaction is
suspended.
You may read more on how it handles roll back in your  case.

Cheers
Ashwani Kalra






                    Venkatesan
                    Krishnamoorthy           To:     [EMAIL PROTECTED]
                    <[EMAIL PROTECTED]        cc:     (bcc: ashwani.kalra/Polaris)
                    OSYS.COM>                Subject:     Re: Transaction questions
                    Sent by: A
                    mailing list for
                    Enterprise
                    JavaBeans
                    development
                    <[EMAIL PROTECTED]
                    A.SUN.COM>


                    03/24/2003 11:36
                    AM
                    Please respond to
                    Venkatesan
                    Krishnamoorthy







Hi:
  Can some one tell me what will be the Contatiner behavior if a Session
bean/MDB with CMT makes a call to another session/MDB with a BMT. Does the
container suspend the calling bean's CMT while executing the BMT method of
the other bean? If so, if there is a rollback of operations in the calling
bean's method, will the BMT operations performed in the other bean also be
rolled back automatically? Thanks.

Venkat

-----Original Message-----
From: Johan Eltes [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 11:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Transaction questions


Hi Vincent,

In this perspective, MDBs are not different from stateless session beans.
BMT->CMT is OK
CMT->BMT is not ok, if the CMT method has started a transaction (which is
always the case by MDBs)

/Johan

Den 2003-03-21 05.07, skrev "Vincent Shek" <[EMAIL PROTECTED]>:

> Hi All,
>
> Quick question, can a MDB with bean managed transaction call other EJBs
with
> container managed transactions and vice versa(MDB with cmt calling EJBs
with
> bmt)?
>
> Thanks,
>
> Vincent
>
>
===========================================================================
> 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".
>

===========================================================================
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".

==========================================================================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".





This e-Mail may contain proprietary and confidential information and is sent for the 
intended recipient(s) only.
If by an addressing or transmission error this mail has been misdirected to you, you 
are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, 
copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment 
other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Reply via email to