I'm doing some investigation on JavaServer Faces... and having found loads of articles and demo applications... I think (emphasis on think) I have a fair idea of how it all hangs together... From what I've read, the basic premise is to design the Java beans first that control the functionality of an application and then wrap the JSP user interface and navigation around these beans. No problems here so far... I know you can go back and forth between faces and non-faces components, but this seems not to be the goal of JSF. So, now to my question... If I stick with the pure JSF model, how do I access application/session scope variables in my beans? Is there some static methods in the JSF spec that I should be using? Should I just use non-faces components to access them? Am I completely off the mark? Does anyone know of a really good complete idiots guide to JSF?
I had seen a similar app on another site... That's basically the level I'm at, though I still don't know how to access session/application scope variables from within my code. Do I have to use non-faces (i.e. a servlet) comonent or are there static methods in the JSF framework I can use?