dan benanav wrote:
> > > Does this mean, for example, that I cannot use Hashtable or
> > > Vector in my bean classes?
> > Yes you can, as long as they are not shared between two threads.
> This answer doesn't make sense to me. Either you can use a hashtable
> in an entity bean or you cannot.
It's not that simple. You can use a hashtable (or whatever), as long
as the way you use it doesn't interfere with the App-server's
operation. Specifically, you can use a hashtable as long as two
beans, executing in two different threads, don't simultaneously try to
call methods on the same hashtable instance, because then the calls
would get synchronized, and that's prohibited by the EJB spec:
18.1.2 ... An enterprise Bean must not use thread synchronization
primitives to synchronize execution of multiple instances.
Later,
Rujith.
===========================================================================
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".