Serializing/deserializing top level component in the UI

Hi,

Is there anyway to serialize the top level component and all children of the UI and then reload it in another Vaadin session? I know tomcat 7.x does this for any active sessions just before it stops (when you bring it down). The reason I want to do this is because I have a very complicated UI and it would just be easier to simply reload the serialized UI as apposed to trying to rebuild it based on saved data. This is just for a demo, this wouldn’t be prod code. Any help would be greatly appreciated.

Hi Steve,

I am not quite sure if I correctly understand what you are after, but this article by Petter
might be a good starting point for you:
https://vaadin.com/web/petter/home/-/blogs/experimenting-with-vaadin-spring-and-serialization

Best Regards,
Enver