Why?
EJB does not allow multiple threads accessing the same instance.
Synchronization is not necessary in EJB beans that conform to the
specification.

> -----Original Message-----
> From: David Olivares [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 10, 2000 9:22 AM
> To: [EMAIL PROTECTED]
> Subject: having a PRIVATE synchronized method in a session EJB
>
>
> hi there,
> I need to have a PRIVATE synchronized method in a session
> EJB. I know the specs don't allow me to have a synchronized
> methods in EJBs, but I'm not sure if having a PRIVATE
> synchronized method is also forbidden.  A way around this
> will be to have a helper class that does the synchronization
> for me, which I think is allowed in the specs.
> thanks in advanced
> David :)
>
> ==============================================================
> =============
> 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