I have this scenario which I am planning to implement in Java EE on JBOSS.
I wish for a user to log into an application, be able to start a long running process, log out and be able to log back into the application and get/alter the state of the running process.
I am not concerned with the user login but need advice on what sort of bean should I be using for my long running process. I have read on Singletons and Stateless / Statefull Session Beans (most likely not enough), but they don't appear to fit what I need. Is there any advice or can someone point me in the right direction of what I should use to implement the above use case.
Thanks