Charles Robertson
11/02/2022, 1:57 PMproperty fooService;
My understanding is that because the actual controller component is in the application scope, everything inside the component, including properties, which are in the variables
scope, also persist.
You can see this when you dump out the application scope.
The point I am trying to make, is that any variable inside a service, in the variables
scope, is a singleton, as well.
This makes it vulnerable to being changed by more than one request.
If services were transients, each request would get given a new instance. In this case, there would be no problem, because each request would be given its own copy of all the variables inside each service.