Java Application Scope
-
30-04-2021 - |
Frage
During a particular session if I obtain application context and store or change something in application scope, would it become available to all the sessions until the server is rebooted?
Lösung
Yes. This is one of the goals of application scope.
Andere Tipps
Until the application is restarted, or the server, yes.
But this kind of thing is trivial to test, you should test it — no answer beats a test that you make yourself.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow