The Relationship Between JSF and Other Java EE Technologies

By: Emiley J Emailed: 1605 times Printed: 2078 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

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.

The primary design pattern of JSF is the Model-View-Controller (MVC) pattern. As you saw in Model 2 Architecture, MVC separates an application architecture into three categories of components:
model, view, and controller. The model is the abstraction of all the domain data in the system. It is the bank account in a banking application, or a shopping cart in an e-commerce system. The view is the visualization of the model. In a web application, the view consists of the HTML pages and the components that create the HTML pages sent to web browsers, the Wireless Application Protocol (WAP) pages sent to mobile devices, or the UI components sent to a dedicated client. The controller is the set of components that manage the communications between model and view.

You can create user interfaces with JSP. In fact, JSP was designed to make the view component of a web application easy to create and manage. It is also possible, although not as easy, to create UIs with servlets. However, combining JSF with JSP or Servlet technology makes UI creation—and integration of thecmodel, view, and controller—easier by f ar. JSF brings a component-based model to web application development that is similar to the model that has been used in stand-alone GUI
applications for years.

To use JSF with servlets, you use the components that make up JSF directly; that is, within your servlet, you explicitly create and use instances of UI component classes. The JSF implementation
includes a tag library of custom tags, similar to the JSTL , that you can use with JSP to easily create JSF-enabled applications.


JSF Home | All JSF Tutorials | Latest JSF Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.



Bookmark and Share

Comments(0)


Be the first one to add a comment

Your name (required):


Your email(required, will not be shown to the public):


Your sites URL (optional):


Your comments:



More Tutorials by Emiley J
Password must include both numeric and alphabetic characters - Magento
What is Hadoop?
Returning multiple values from a web service
Tomcat and httpd configured in port 8080 and 80
Java Webservices using Netbeans and Tomcat
Java WebService connected to Database
How to Deploy a Java Web Service
Call a webservice in Java
Java WebService - Create your first web service in Java
package javax.jws does not exist
Getting Started with Android
HTML5 Location - getCurrentPosition() in HTML5
HTML5 Canvas - Using Canvas in HTML5
HTML5 - Introduction
HTML5 Video - Handling video in HTML5

More Tutorials in JSF
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

More Latest News
Most Viewed Articles (in JSF )
JSF Basics
The Relationship Between JSF and Other Java EE Technologies
Using Javascript in JSF
How to open a new browser window from my JSF page?
Action listeners in JSF
Install and Deploy JBoss Application Server
What is JSF (JavaServer Faces)?
Differences between JavaServer Faces technology and Struts
JSF Life Cycle
Installing JSF
Java Bean Scopes in JSF
Controlling Page Navigation in JSF - Static and Dynamic Navigation
Accessing Context Data in Beans using JSF
Servlet error : java.lang.IndexOutOfBoundsException (JSF RI 1.1_01: IndexOutOfBoundsException)
JSF - TreeNode.setID gets IllegalArgument Exception
Most Emailed Articles (in JSF)
Accessing Context Data in Beans using JSF
What is JSF (JavaServer Faces)?
Servlet error : java.lang.IndexOutOfBoundsException (JSF RI 1.1_01: IndexOutOfBoundsException)
Calling Multiple Listeners in JSF
Java Bean Scopes in JSF
Action listeners in JSF
Install and Deploy JBoss Application Server
JSF Life Cycle
JSF Basics
Installing JSF
Controlling Page Navigation in JSF - Static and Dynamic Navigation
How to open a new browser window from my JSF page?
<convertNumber> and <convertDateTime> in JSF
Struts Vs JSF (A comparison of Struts against JSF)
JSF - TreeNode.setID gets IllegalArgument Exception