the attached mvn project has session serialization enabled in the maven jetty plugin, and uses a serializable session factory in zk.xml
open the URL
wait a minute and observe the logs. when session passivation occurs, the "willPassivate" callback is called 3 times for the page using SelectorComposer and 7 times for the SelectorComposer.
Refreshing the page after session passivation, will call the didActivate listener equally often, each time with the same parameter. (Window)
the listeners are only called once, or at least with unique parameters.