3. Agenda What is JSF and why JSF? Architecture Overview UI Component Model Summary of new features in JSF 2 Development Steps
4. JSF (JavaServer Faces) Framework Is… A server side user interface component framework for Java technology-based web applications F-35 JSF Joint Strike Fighter
5. Ok, but what JSF really is? A specification and reference implementation for a web application development framework Components Events Validators & converters Navigation Back-end-data integration Localization Error Handling
6. But why JSF? Standard Huge vendor and industry support MVC for web applications Clean separation of roles Easy to use Extendable Component and Rendering architecture Support for client device independence
7. Agenda What is JSF and why JSF? Architecture Overview UI Component Model Summary of new features in JSF 2 Development Steps
8. JSF Architecture Server Desktop Browser HTML Renderer kit HTML App Backend Front Ctrl JSF Page JSF Page Phone WML Renderer kit WML
9. Request Processing Lifecycle Phases Restore component tree phase Apply request values phase Process validations phase Update model values phase Invoke application phase Render response phase
27. Agenda What is JSF and why JSF? Architecture Overview UI Component Model Summary of new features in JSF 2 Development Steps
28. What’s new? FaceletsView Declaration Language Annotation based configuration Standardized Ajax Implicit Navigation Scopes (conversation, view, flash, custom) Composite Components Bean Validation Support Error Handling more - resource loading, improved GET support, behaviors, tree visiting, system events and many more (out of scope)
35. Steps in Development Process Develop model objects which hold the data Register model objects (managed bean) in faces-config.xml or use annotations Create Pages using UI component and core tags Define Page Navigation in faces-config.xml or use implicit navigation Configure web.xml