Experience with Java since its release in 1995 Web development sinceĥ Agenda JavaServer Faces from 1,000 feet Ajaxian Faces Can t we all get along? Which one? JSF 1.2 and beyond Summary Q&A 5Ħ Agenda JavaServer Faces from 1,000 feet Ajaxian Faces Can t we all get along? Which one? JSF 1.2 and beyond Summary Q&A 6ħ What is JavaServer Faces? Standard web user interface (UI) framework for Java JSF 1.0: Standardized through Java Community Process (JCP) in 2004 (JSR 127) JSF 1.2: Standardized through JCP in 2006 (JSR 252) Part of Java EE 5.0 7Ĩ What is JavaServer Faces? Specification consists of: Server side UI component and event model Set of basic UI components Basic application infrastructure Can automatically synchronize UI components with application objects Includes basic Dependency Injection container 8ĩ What is JavaServer Faces? Extensive tool support Sun, Oracle, IBM, BEA, Exadel, Borland, JetBrains, Genuietc, others Enables RAD-style approach to Java web development Facilitates third-party UI component market Built on top of Servlet API Works with JSP, but does not require it 9ġ0 JSF and Struts Heavy abstraction Transparent AJAX support Automatic markup generation (i.e., HTML, WML) Declarative integration of user interface with business objects (both read and write ) Stateful user interface component model (running on the server ) JavaServer Faces Server-side handling of user interface events Type conversion Navigation Form handling and validation Enhanced localization Layer separation (Model 2) Struts 1.x Little abstraction Resource management Extensible templating mechanism Integration with Java, session management, lifecycle management, basic error handling, security, deployment and packaging, J2EE integration, etc.
Mann JCP Member JSF 1.2, JSP 2.1, Design-Time API for JavaBeans, Design-Time Metadata for JavaServer Faces Components, WebBeans, etc.