Hi!

David Olivares wrote:
> 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

Using synchronized is pretty pointless considering that only one thread
at a time will be able to use the bean.

Why do you want to use synchronized?

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.dreambean.com
Question reality

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