first it tries to locate the instance for class attribute, while the server has many instances for many users how container will locate correct instance for our request( or our session) or what ever....
thanks in advance for your time.
sakthi SCJP, SCWCD OCA
posted 7 years ago
It tries to find the attribute in the following scopes in this order page, request, session and application.
The existence of an attribute with the same name in other requests doesn't conflict with the current request, the same is true for session and page scopes.
I think the easiest way to implement such feature inside the application server is to have ThreadLocal, since each request is attached to only one thread.