sample vaadin application on tomcat cluster

Can someone provide a sample vaadin application for a tomcat cluster?
Assuming the tomcat cluster (2 nodes for tomcat instance and apache via mod_jk) is setup correctly, how to create a vaadin sample application to test that the session is being replicated properly. The scenario that I want to test is as below:
User starts on node 1 and the node 1 goes down, user continues to be serviced by the node 2.

I have session replication working with a simple servlet for the above scenario, but just can’t get the vaadin application to work. In the servlet, doGet() is triggered everytime, but what is the entry point for a vaadin application when a node is down and the other node is servicing?