JSF Tutorials

What is JSF (JavaServer Faces)?

  • 2007-09-18
  • Comments
  • Baski
  • 141

A complete web application requires a web framework to generate HTML pages, receive user input, and manage the navigation flow. The consensus among most web developers is that a Model-View-Controller (MVC) architecture is the best for web frameworks. In an MVC framework, the controller takes user input and decides which view to show next; The view renders the HTML page for the browser; The model encapsulates data captured from the web form and to be displayed on the web page.
Read More

JSF Basics

  • 2007-09-18
  • Comments
  • Daniel Malcolm
  • 140

UI development is easier because UI components are provided as reusable objects. A number of classes, corresponding to UI components, are part of the JSF specification and implementation. Rather than have to worry about the syntax of page layout, you simply drop the UI components into your application. A custom render kit and rendering process convert the components into appropriate page-layout code. The JSF implementation comes with a default render kit for HTML, but the same JSF code can be rendered by other render kits for other client systems. This means that you can use the same JSF code for a variety of client systems, and use different render kits to customize the UI for each client system.
Read More

Differences between JavaServer Faces technology and Struts

  • 2007-09-18
  • Comments
  • Charles
  • 140

Struts is an open-source Java web application framework whose architecture is based on the Model-View-Controller design pattern in which requests are routed through a controller that provides overall application management and dispatches the requests to application components. JavaServer Faces technology is a user-interface framework for Java web applications. It is focussed on the view tier of an MVC-based architecture. The Struts and JavaServer Faces technology frameworks do have some overlapping functionality; however each framework has its advantages, and developers can use certain features of both frameworks in a single application.
Read More

Install and Deploy JBoss Application Server

  • 2007-09-18
  • Comments
  • Abinaya
  • 143

In this tutorial let's go over the process to setup JBoss application server to run web applications.
Read More

The Relationship Between JSF and Other Java EE Technologies

  • 2007-09-18
  • Comments
  • Emiley J
  • 142

Within the Java Platform, Enterprise Edition 5 (Java EE 5), technologies such as JSP and Servlet are stand-alone technologies. You could, if you wanted to, create an application using only servlets or only JSP pages. JSF is different because it is a supporting technology. You use it in conjunction with JSP pages, servlets, or other presentation technologies.
Read More

JSF Life Cycle

  • 2007-09-18
  • Comments
  • Fazal
  • 141

Regardless of whether you are using JSF with JSP pages, servlets, or some other web technology, each request/response flow that involves JSF follows a certain life cycle. Several kinds of request/response cycles can occur in a JSF-enabled application. You can have a request that comes from a previously rendered JSF page (a JSF request) and a request that comes from a non-JSF page (a non-JSF request). Likewise, you can have a JSF response or a non-JSF response. We are concerned with these three request/response pairs:
Read More

Installing JSF

  • 2007-09-18
  • Comments
  • Grenfel
  • 141

You will need to obtain and install a JSF implementation, and the JSP Standard Tag Library (JSTL) reference implementation. We will use the JSF reference implementation from Sun. If you have an implementation from some other vendor, consult the documentation for that implementation for installation instructions.
Read More

Most Viewed Articles on JSF

Latest Tutorials

Subscribe to Tutorials

Related Tutorials

Struts Vs JSF (A comparison of Struts against JSF)

faces-config.xml to DirectTraffic in the JSF Application

<convertNumber> and <convertDateTime> in JSF

Action listeners in JSF

Calling Multiple Listeners in JSF

Using Javascript in JSF

How to open a new browser window from my JSF page?

Servlet error : java.lang.IndexOutOfBoundsException (JSF RI 1.1_01: IndexOutOfBoundsException)

JSF - TreeNode.setID gets IllegalArgument Exception

Install and Deploy JBoss Application Server

What is JSF (JavaServer Faces)?

Differences between JavaServer Faces technology and Struts

JSF Basics

The Relationship Between JSF and Other Java EE Technologies

JSF Life Cycle

Archived Comments

1. i really have to thank you for the wonderful fluid
View Tutorial          By: Joel Pereira at 2011-03-19 22:08:58

2. well example, but i have to send the received list
View Tutorial          By: amit kumar at 2011-02-21 00:43:15

3. nice overview on struts.....
View Tutorial          By: priyanka at 2010-08-23 00:13:33

4. crystal clear explanation. He's explained very nic
View Tutorial          By: jay at 2009-12-08 10:28:14

5. not that much clear exampl.. you should explain it
View Tutorial          By: elangovan at 2010-06-09 02:36:19

6. hey i need a sms recieving code....
View Tutorial          By: Kishore at 2009-08-06 09:11:13

7. hey i can write more simple example of this pointe
View Tutorial          By: shruti at 2010-03-03 09:44:58

8. if done all the steps but i have found out this er
View Tutorial          By: hisham at 2010-11-24 11:01:54

9. Thanks for this article.
View Tutorial          By: Arindam Dey at 2011-06-16 05:23:17

10. good
View Tutorial          By: pardhuman at 2011-06-24 08:18:15