How to replicate VaadinSession in a cluster


I’m working to figure out how to successfully replicate a VaadinSession in a cluster. I am using a WebLogic cluster. From the research I’ve done so far, in Scenario 1, if I use a
and add attributes to a
, those attributes are immediately replicated across the cluster and available if a failover occurs. However, in Scenario 2, if I add attributes to the
object, the VaadinSession object is not replicated. This make some sense because in the Scenario 1 I’m editing the HttpSession object, however, in Scenario 2, I’m editing an object already inside the HttpSession so WebLogic really has no idea that the object has changed and should be replicated. So what’s the strategy to successfully replicate the VaadinSession object across a cluster?