I wonder if Java with Primefaces and its managed beans work well in the cloud, I say, my question is whether this architecture supports working in the cloud to build a web system with acceptable performance since often a screen made in the JSF using Primefaces calls a Java method multiple times when requesting a page (which I do not quite understand as well), another thing: since cloud systems must have the property of being absolutely stateless, I think it would be necessary in this case to use of the correct @RequestScoped scope? but something that makes me uneasy is if the primefaces themselves using the managed beans do not make use of any process 'underneath the cloths' that will keep a state control on the server side which would totally invalidate the idea of being session-free , would anyone with good knowledge in this type of architecture help me? Thanks in advance for anyone who can help, I know I may be being a bit confused in formulating the questions but it was the best way I found to express myself, feel free to reply if I need more specific information.
Thank you !!