This content has been marked as final.
Show 2 replies
-
1. Re: Singleton totally mulitread-capable ?
jaikiran Oct 13, 2010 7:37 AM (in response to nimo22)Section 4.8.5 ("Singleton Concurrency") of EJB3.1 spec has the complete details including this:
It is legal to store Java EE objects that do not support concurrent access (e.g. Entity Managers, Stateful Session Bean references) within Singleton bean instance state. However, it is the responsibility of the Bean Developer to ensure such objects are not accessed by more than one thread at a time.
-
2. Re: Singleton totally mulitread-capable ?
nimo22 Oct 13, 2010 8:00 AM (in response to jaikiran)thanks!