Amine,
Typically there is transaction manager component that registers resources
(JDBC connections...) as they are used by beans. When the transaction is
committed (either by the container or the bean) the transaction manager
executest the two phase commit protocol over the resources.
-Chris.
PS: Some EJB servers do this for real. Some do not!
> -----Original Message-----
> From: Amine Belouali [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, June 01, 2000 7:41 AM
> To: [EMAIL PROTECTED]
> Subject: Two Phase Commit
>
> Hi,
>
> I would like to have some informations please about how EJBs manage a Two
> Phase Commit where they access different data sources (using some gateways
> like jdbc and odbc)
>
> Thanks in advance
>
> ==========================================================================
> =
> 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".