JSF2 controller Bean Construction & @postconstruct -right use
I have a question about how the JSF managed beans are reused accross multiple invocation of the same xhtml screens by multiple users .
Is the @postconstruct method invoked only once whem the bean is constructed ?[which is most likely]
Suppose USER A & USER B are accessing the same screen "test.xhtml" almost simultaneously and the managed bean for test.xhtml has a @postconstruct method which reads from the a database table some live currency rate which changes very fast.
Will both the users get fresh data every time they invoke the url ? Or is it the case because the managed bean is constructed only once for both the users that the data they get to see will be a bit stale?
Is iin this case having a phase listener that t loads from data base code would be a better / correct appoach ?