I am using JSF to create a web app.
I have an application scoped bean that has a infinite loop so that it periodically performs an action.
My problem is that this bean (due to the infinite loop) is blocking the whole application. I thought that the bean would run on its own thread. Isnt that the case with JSF, that each managed bean is running on own thread by default?
Should I create a thread and let the infinite loop run in that thread instead?
thank you