Hi there,
I am thinking of the best strategy for stable mail sending in my web application.
I would like to run it on a separate
thread, in order to kindof "order" a report and inmediately after be able to work with the app, so that this separate thread sends it to its destination once the thread is done with it (after that the thread would be diposed). The point is that as far as I have seen, creating a new Thread inside the
JSF main thread, will prevent JSF's main thread from starting the lifecycle, therefore working with the application while the mail is being cooked is by now impossible.
Can anybody give some hints?
Should I run a separate
java process?, or is there a way to run a brand new Thread totally independent from JSF's main thread?
Thanks for your suggestions!
Carlos.