[Beepcore-java-users] Concurrency
Status: Beta
Brought to you by:
huston
From: Harsh D. <hda...@io...> - 2002-09-09 16:08:45
|
I have a 'Profile' (implementing MessageListener) that can be used in multiple 'Session's. Since there is a thread per 'Session', I'm assuming same 'Profile' object will be used by multiple session threads. So the responsibility of thread-safety falls on profile author. Right? Is there a way to have a separate instance of profile per session/thread. If not, could somebody educate me on it's pros/cons? Thanks, Harsh |