Hi, I'm confused about how I should access objects stored in a WebSession, namely when to use `synchronized`, as:
- the documentation says the session is not thread safe - the session example class WiaSession in Wicket In Action guards its User object by `synchronized` (just because of the StatelessForm??). BUT - the Wicket wiki example does NOT use `synchronized`... (https://cwiki.apache.org/WICKET/custom-websession-storing-objects-in-session.html) - the other session example class CheesrSession in Wicket In Action simply contains an ArrayList and not guarded `synchronized`; I see that there's no setter, but ArrayList is not thread-safe, either. (AFAIK) Could someone shed a light on these issues? Thanks, Aroly --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
