SRV.10.5 Listener Instances and Threading
The container is required to complete instantiation of the listener classes in a Web
application prior to the start of execution of the first request into the application. The
container must maintain a reference to each listener instance until the last request is
serviced for the Web application.
Attribute changes to ServletContext and HttpSession objects may occur
concurrently. The container is not required to synchronize the resulting
notifications to attribute listener classes. Listener classes that maintain state are
responsible for the integrity of the data and should handle this case explicitly.
Dennis Grimbergen wrote:Hi Roel,
Although my name indicates to be a Belgian, I'm Dutch. I just love the Belgium beers
Roberto Perillo wrote:Howdy, Walid!
However, your application should be free - and expected - to change the data in there.
Which is, the IDs of the clients being placed in each booked record when the records are updated. Is that what you mean? If so, yes, that's correct!