Application scope is multi-threaded
Application scope is more dangerous than session scope and request scope. Objects placed in application scope can be used by more than one thread, and must be designed accordingly.
If an object is to be placed in application scope, the simplest design
is to ensure that the object is immutable, such that external synchronization
is never necessary.
See Also :
Would you use this technique?
|
|