> >
> > I felt my earlier message was kind of confusing :
> > Here what I mean is that the SessionSynchronization interface provides the client
> > using the session bean with some notification mechanism like the afterCompletion
> > regarding the state of the transaction, it is up to the user how he maintains the
> > state once he gets the notification. The SessionSynchronization does not provide a
> > way to save the state.
> > To my understanding the EJB vendor need to provide the actual implementation of
> > this SessionSynchronization interface.
>
> Nope. SessionSynchronization is implemented on the bean implementation
> class, not on the client. (And it's only allowed for stateful session
> beans). It's a callback interface, similar to the SessionBean interface
> (that is, the container invokes methods on it to tell you that various
> things have happened).  The container invokes methods on the
> SessionSynchronization interface to notify the bean of transaction
> boundaries.

   Yep that makes sense.
   What about client demarcated transactions which make use of  stateless session beans
?
    How does the client get notification of the transaction boundaries in such a case ?
    Are there any interfaces that support such notification in client demarcated
transactions ?

Thanks
Nishi.




>
>
> ===========================================================================
>                 Tom Valesky   -- [EMAIL PROTECTED]
>                      http://www.patriot.net/users/tvalesky
>
> ===========================================================================
> 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".

--

                    (| (.)(.)|)
-------------------OOOo--()--oOOO.---------------

Nishi Nidamarty                 TDI Inc. ,
TEL  : 408-330-3466             5000 Old IronSides Dr,
FAX  : 408-330-3444             Santa Clara  CA 95054.

mailto:[EMAIL PROTECTED]         http://www.tdiinc.com
------------------------------------------------------------

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