WDD_lec_44 - JSF road map(NI Clientside validation Show...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
JSF road map (NI) Clientside validation Show problems State example (search page don’t show back results) Event Model (swing example , now tags data need to be parsed) Validation model We are doing a lot of low work ourselves (e.g. request.getParameter etc). Need a framework
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Client Side validation Example
Background image of page 2
(NI) Discuss problems here Problems with servlets and JSPs Servlet and JSP Provide no direct GUI component support No mechanism to manipulate stateful objects at the server No way to auto-connect client events to server methods Requires programming skill • Low level details of HTTP and session • Undefined programming model – lots of tedious code State example (search page don’t show back results) Event Model (swing example , now tags data need to be parsed) Validation model We are doing a lot of low work ourselves (e.g. request.getParameter etc). Need a framework
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Intro to Framework Framework vs. API Different existing framewroks Struts Helps define a structured programming model (MVC), a validation framework and reduces tedious coding But… Adds complexity and doesn’t provide UI tags Very Java programmer centric Tapestry JSF
Background image of page 4
JavaServer Faces A new face on application development in Java
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
JSF Architecture & Technology (NI) Internationalization  Navigation Server Side UI Event Handling Rendering Model Model Object Integration UI Component Model A Set Of UI Components A JSF Custom Tags Technology Architecture APIs And Programming  Model
Background image of page 6
Java Server Faces – Major Features (NI) Components Allows creation of user interfaces from a set of standard, reusable server-side components Provides JSP tags to access those components Allows component rendering to support multiple markups and device types Provides a framework for implementing custom components Easier Programming Model Transparently saves state information and repopulates forms when they redisplay Provides a mechanism for tying client side events to server side logic / processing Components available to scripts on server Contains mechanisms for validation and conversion Separates presentation from logic Enables more functional “RAD” Tooling
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
JSF – Web Application Infrastructure (NI) Java, Session Mgmt, Lifecycle Mgmt, Security Deployment and Packaging Extensible Template Mechanism Template Reuse, Management And Layout Resource Mgmt, Enhanced Error Handling Pluggable Initialization Architecture Layer Separation Stateful UI Component Model Automatic markup generation Low High JSF Struts Abstraction
Background image of page 8
What is JSF? A framework which provides solutions for
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/01/2010 for the course CS CS506 taught by Professor mr. umair javed during the Spring '10 term at Virtual University of Pakistan.

Page1 / 46

WDD_lec_44 - JSF road map(NI Clientside validation Show...

This preview shows document pages 1 - 10. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online