Hi,
I have a design problem. In my system there is a instance, which contains
the a dependancy table, which will be read and modified very intensively by
other beans at runtime.
1. If I just forget any multiple VM problem and model it as a singelton
class(not a bean), can I use synchronize keyword to make the class thread
safe? I don't think there is a security policy concerning using of
synchronization, so I am not sure, how the app server can check it?
2. If I do model this instance as a bean, the only possibility I have is to
treat it like a entity bean, which doesn't synchronize its state with any
database.
3, I know there were attempts to introduce a singelton bean type. Is it
possible toimplement it myself without the support of singelton bean through
the app server?
thanx
Dapeng Wang
===========================================================================
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".