JSF tutorial

JSF tutorial Print E-mail
User Rating: / 11
PoorBest 
Contributed by Howell   
Saturday, 17 June 2006
Overview JavaServer Faces  (JSF tutorial)
JavaServer Faces technology includes:
  • A set of APIs for representing UI components and managing their state, handling events and input validation, defining page navigation, and supporting internationalization and accessibility.
  • A JavaServer Pages (JSP) custom tag library for expressing a JavaServer Faces interface within a JSP page.

Designed to be flexible, JavaServer Faces technology leverages existing, standard UI and web-tier concepts without limiting developers to a particular mark-up language, protocol, or client device. The UI component classes included with JavaServer Faces technology encapsulate the component functionality, not the client-specific presentation, thus enabling JavaServer Faces UI components to be rendered to various client devices. By combining the UI component functionality with custom renderers, which define rendering attributes for a specific UI component, developers can construct custom tags to a particular client device. As a convenience, JavaServer Faces technology provides a custom renderer and a JSP custom tag library for rendering to an HTML client, allowing developers of Java Platform, Enterprise Edition (Java EE) applications to use JavaServer Faces technology in their applications.
 
Ease-of-use being the primary goal, the JavaServer Faces architecture clearly defines a separation between application logic and presentation while making it easy to connect the presentation layer to the application code. This design enables each member of a web application development team to focus on his or her piece of the development process, and it also provides a simple programming model to link the pieces together. For example, web page developers with no programming expertise can use JavaServer Faces UI component tags to link to application code from within a web page without writing any scripts.

Free JSF (JavaServer Faces) Training Materials from coreservlets (JSF tutorial)

These materials are from an advanced JSF training course aimed at programmers who have moderate to significant previous servlet and JSP development experience. Click here for information on the public (open enrollment) courses based on these materials. For descriptions of the various other courses based on these materials that are available, please see courses.coreservlets.com. To inquire about a customized on-site course at your location, please contact Marty at .

You can also get the source code for the examples from the slides and see Marty's collection of JSF resources, visit the home page of More Servlets and JSP, visit the home page of the second edition of Core Servlets and JSP, or access the free online version of the first edition of Core Servlets and JSP.

Introducing JSF: Overview, Pros, Cons, Installation, and Setup
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Controlling Page Navigation
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Processing Request Parameters with Managed Beans
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Using the JSF Expression Language
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Using Properties Files (Resource Bundles)
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Handling Events
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Building Input Forms with the h: Library
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Using Apache MyFaces Custom Components
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Validating User Input and Redisplaying Incomplete Forms
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Accessing Databases with JDBC
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Building JSF Data Tables
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Using JSF with Apache (Struts) Tiles
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Using the JSP Standard Tag Library (JSTL) with JSF
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access.
Developing Custom Renderers
(Prelimary Slides Only)
PDF. For learning JavaServer Faces (JSF). Free for personal use.
PowerPoint. For customization and projection by university instructors. Password-protected; see usage rules for access

 Read More

 Java Server Faces (JSF) Tutoria from roseindia

JavaServer Faces or JSF is grate technology for the development of user interfaces for web applications. The Java Server Faces specification is defined by JSR 127 of the Java Community Process.

JSF Tutorial By R.S.RAMASWAMY
Email:  


 Part1

INTRODUCING JAVA SERVER FACES (JSF).
   
Part 2

In this second part of the tutorial, basics steps to install and  run the examples are explained.
   
Part 3

In this part of the JSF tutorial 'backing beans', event-handling, validation and discussed. 

Read More


How To Create Your Own Java Server Faces Components  from jsftutorials

Introduction

JavaServerTM Faces is a technology that helps to build a user interface based on the components approach. Using UI Components as building blocks simplifies the development, slashes the number of code lines, and allows reusing the same components from one project to the next.

What are the components we are speaking about? The Sun reference implementation of Java Server Faces provides just a few very common components for Web forms, primitive tags for page layout, and "dataTable" as a way to show the data set. The open source implementations of Java Server Faces don't provide much more. The commercial implementation of GUI Tools for Java Server Faces such as WebSphere Application Developer and Java Studio Creator do come with significant additions to the set of components that allows creating interfaces similar to that of Swing applications. However, traditionally, the Web interface lacks all of the richness of thick-client analogs. A customer might have an existing design that is not covered by the set of standard controls. Third-party components vendors will try to create the most common components with a multitude of custom parameters, but still these do not match the requirements for an individual Web application. The Java Server Faces Specification in Section 1.2.2 mentions the Component Writer role along with Page Writer and Application Developer roles. Writing a specific component set for a particular Web application might be a good solution instead of trying to use existing ones that a customer might not even accept.


 

JavaServer Faces (JSF) Tutorial from exadel

 JSF KickStart: A Simple JavaServer Faces Application
In this tutorial, we will show you an example of a JSF application developed without any special IDE. We won't dwell on the theory behind JSF here. There are plenty of sites and books that will do that for you. Instead, we will go quickly into the construction of this simple application that we hope can form the basis for you to start developing more advanced applications.

What Is JavaServer Faces?

Per our promise, we will keep the background simple. JavaServer Faces is a new framework for building Web applications using Java. JavaServer Faces provides you with the following main features:

Page navigation specification
Standard user interface components like input fields, buttons, and links
User input validation
Easy error handling
Java bean management
Event handling
Internationalization support

JSF provides the common plumbing for any Web application allowing you to concentrate on your specific application (instead of worrying about things like how to create a link from one page to another). This will become clearer as we go along.

What Will You Need?

You will need the following to complete this tutorial:

JDK 1.4
Tomcat 5.0 or any other servlet container (JBoss, Resin, JRun). We will use Tomcat in this example.
Ant

We will provide you with many of the project files so that you don't need to create them yourself. We will be concentrating primarily on the actual JSF application, not on creating Ant scripts or web.xml files. These files will be provided for you. You will just need to copy and paste content from this tutorial.


 

JSF IDE
 M7 NitroX JSF IDE

 M7 NitroX JSF IDE extends its capabilities into the realm of JavaServer Faces. NitroX is highly regarded for offering a
high degree of fidelity in its design time visual representation of complex web pages - the NitroX JSF IDE continues the
history of professional excellence. M7's AppXRay technology is extended to JSF and provides a deep level of
understanding for the JSF framework and provides sophisticated code completion, error checking and validation that
reaches multiple levels. A picture says a thousand words and screenshots below show some of the power and
capabilities that the NitroX JSF IDE provides.

 

 

Price  BEA Workshop for JSF  $499

 FacesIDE JSF IDE

 FacesIDE is an Eclipse plugin for developing JavaServer Faces (JSF) applications.

FacesIDE, alongwith the EclipseHTMLEditor plugin and Eclipse's own JDT, provides support for developing JSF applications: managing JSF-specific configuration files, and editing HTML, JSP and XML files with syntax coloring and code completion.

An issue with installing any new plugin is learning how it makes its functionality available in the workbench -- plugins add IDE artifacts such as editors, views, menus, etc, and it's not always easy to locate all such additions. Thus this User Guide describes artifacts added to the workbench and, thusly, functionality provided by FacesIDE. This organization is reflected in the Table Of Contents

Price  Free and open source

 MyEclipse

Key features include:

  • Support for Sun JSF RI 1.1.01 and MyFaces 1.0.9
  • Faces Config Designer (multipage editor)
  • Graphical Navigation Flow Designer
  • Advanced XML source editor
  • Multi-mode outline view
  • 10 Integrated JSF Configuration Wizards with MyEclipse J/Codegen Support
  • Integrated with MyEclipse Hot-Sync Deployment and WAR Export Tools
  • New MyEclipse Perspective exposes JSF Component Templates for JSP Development
 Price 29.9/year

Exadel™ Studio Pro 3.6 JSF IDE

 Exadel™ Studio Pro 3.6 is an advanced enterprise-level Web application development environment for leveraging open source, J2EE, and AJAX technologies within the Eclipse environment. Combining visual and source-oriented development approaches with support for multiple open source technologies, including JSF, Struts, Hibernate, MyFaces, Oracle ADF, Shale, Spring, and others, Exadel Studio Pro enables developers to work easily with multiple frameworks all within one environment.
The extensive collection of specialized wizards, editors, and views in Exadel Studio Pro is constantly expanding to meet the needs of enterprise developers to keep pace with rapidly changing business environments. Exadel Studio Pro is packed with powerful features, including a WYSIWYG Visual Page Editor for JSP files and also comprehensive visual and wizard support for Hibernate Object/Relational Mapping covering forward-engineering, reverse-engineering, and meet-in-the-middle approaches.

Price  USD199.00

 

 

Last Updated ( Saturday, 17 June 2006 )

  home              contact us

 

©2006-2008 DeveloperZone.biz   All rights reserved     powered by Mambo Designed by Siteground