----- Original Message -----
From: "Dave Wolf" <[EMAIL PROTECTED]>
> I understand that the spec does not mention other classes used by the
bean
> but I strongly argue and have in this forum repeatidly that it is
> irrelevant.
For things like file I/O:
Yes: when helper classes are loaded by the EJB classloader.
No: when helper classes are (a) loaded by the system classloader and (b)
use doPrivileged() blocks correctly. This is what the doPrivileged()
construct was invented for.
(Use of synchronization primitives is probably bad no matter what you
try to do. Note however that the minute an EJB uses a Vector, you're
using synchronization primitives. This part of the specification is CYA
only, I think, as it's practically impossible to determine whether or
not some bit of code reachable from an EJB has the word "synchronized"
in its (inaccessible) source code somewhere.)
Cheers,
Laird
===========================================================================
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".