If the web-application is distributed across the multiple JVM, what will be status for ServletContext and session object...?
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
posted 9 years ago
When the web-application is distributed across TWO VMs :
Everything except the 'HttpSession' is duplicated on the other VM. 'HttpSession' objects(including their attributes) 'move' from one VM to another. 'HttpSession' live in only ONE place at any given moment, so same session ID for a given web app will NEVER appear in two VMs at the same time.