Java & AgentDesk & HotStandby

Can you share an example of source code JAVA based Agent Desktop application supporting Hot Standby mode for 6.5 version.

Our main Interest is the login sequence + failover functionality.

Thanks

JS