I plane to use ThreadLocal, to propagate some context information, related to the current user.
Is there some limitation usage, even in the same JVM?
ex :
- Legal to use of thread local variable between Local EJB?
- Legal to use of thread local between web component and local EJB?
- Legal to use of thread local between remote EJB that are on the same JVM?
- Legal to use of thread local between web component and remote EJB (if they are on the same JVM)?