Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

vaadin sessions

Mostafa El Sayed
1 decade ago Apr 07, 2010 11:26pm
Kim Leppänen
1 decade ago Apr 08, 2010 5:32am
Mostafa El Sayed
1 decade ago Apr 08, 2010 8:34am
Kim Leppänen
1 decade ago Apr 08, 2010 8:48am

What you are looking for is the ThreadLocal pattern. Store your application's current user in a ThreadLocal variable.

Mostafa El Sayed
1 decade ago Apr 08, 2010 9:31am