multithreaded application - thread scope

what is the Thread lifecycle with Vaadin ?
If I open a new thread (or using threadpool) does it dies when the session has ended ?

If not - is it possible to create such thread in the sessions scope ?

and about the same question regarding static variables.
is it global ? or static just in the session scope ?