| Author |
Is javax.naming.InitialContext ThreadSafe?
|
Debopam Poddar
Ranch Hand
Joined: Jun 21, 2005
Posts: 49
|
|
Currently I am use following code to lookup EJB3 sateless session beans for normal POJO class. (We are in JEE5 so we can not inject Stateless Session Beans in normal POJO class I have to use look up)
So is Context object is ThredSafe? should I create Context object for each call [as shown in this code snippet] or I can reuse the Context for all threads?
|
 |
 |
|
|
subject: Is javax.naming.InitialContext ThreadSafe?
|
|
|