Manage State in Desktopn Apllication?
<p>i wonder session between Web Application and Desktop Application.</p>

<p>In web applications we can use Session or cookies(or HTTP Session - Stateful if use EJB), but in Desktop Application how can i manage state of object? (if not use Stateful ), i usually use managed state in text file or xml file, it mean when user login , user information will save in text or xml file for managed state and when user logout, system will delete text or xml file. I need some suggest .</p>

<p>Thank you!</p>

<p>Sorry, if my question is stupid !</p>
