When writing a thick client application that uses the K2ROM, what are the recommended methods of dealing with state? (Ignoring questions of user authentication/security for the moment.)
- Connect to the server and leave the connection open
- Stateless - connect as needed and disconnect ASAP
Is there any penalty for keeping dozens of connections open for indefinite periods of time?
If instead we go stateless, can we safely store references to WorklistItems, disconnect, reconnect later, and use those same .NET objects to open items, etc.? Is it necessary to retrieve new WorklistItems via the SerialNumbers of the old ones?
Thanks!