it would commit only when the session method is completed..

bhowmik..

rest is fine here
  keep mailing :-)

On Fri, 28 Jul 2000, Anil Lobo wrote:

> Hi,
>         I have a question on the EJB v 1.1 spec, on Container Managed
> Transaction attribute pg 180 in acrobat, section 11.6.2.2 Requires. It
> states that "The Container attempts to commit the transaction when the
> business method has completed. The container performs the commit protocol
> before the method result is sent to the client."
>
> My question is this:
>         If Session EJB A has a transaction attribute of REQUIRESNEW, calls a
> method on Entity EJB B which has a transaction attribute of REQUIRED, does
> the container commit just before the result is sent to the client (Session
> EJB A) ? If yes, what if A does a transaction rollback ? If the container
> does not commit , then why (according to the spec it should have commited.)?
>
>
> Regards,
>         Anil
> ----------------------------------------------
> Anil Colin Lobo
> Senior Software Engineer
> Aztec Software and Technology Services Ltd.
> Web: http://www.aztec.soft.net
>
> Office Address:
> Aztec Software and Technology Services Ltd
> 23, 3rd A Cross, 18th Main, 6th Block, Koramangala, Bangalore - 560095
> Phone: 091-080-5522892 extn 113
>
> ===========================================================================
> 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".

Reply via email to