Home arrow Java arrow Page 5 - Introducing JavaServer Faces

Introducing JavaServer Faces

JavaServer Faces (JSF) simplifies the development of web application user interfaces, allowing Java programmers to develop the application backend without worrying about a lot of details. This article offers a brief introduction to the technology. It is excerpted from chapter one of the book JavaServer Faces, written by Hans Bergsten (O'Reilly, 2004; ISBN: 0596005393).

Author Info:
By: O'Reilly Media
Rating: 5 stars5 stars5 stars5 stars5 stars / 14
October 06, 2005
  1. · Introducing JavaServer Faces
  2. · How Does JSF Compare to Traditional Technologies?
  3. · More Modular User Interface Code
  4. · Where Does JSF Fit in the Big Picture?
  5. · What You Need to Get Started

print this article

Introducing JavaServer Faces - What You Need to Get Started
(Page 5 of 5 )

Before we begin, lets quickly run through what you need in order to work with the examples in this book and develop your own applications:

  • A PC or workstation, with a connection to the Internet so you can download the software you need
  • A Java 2--compatible Java Software Development Kit (Java 2 SDK)
  • A JSP 2.0--enabled*web server, such as Apache Tomcat 5 from the Jakarta Project
  • A JSF 1.0 implementation, such as Sun's Reference Implementation

* The JSF 1.0 specification depends on the Servlet 2.3 and JSP 1.2 specification, but I take advantage of the many enhancements made in JSP 2.0 for the examples in this book.

All the examples in the book were tested on Tomcat 5 with the JSF Reference Implementation, but they should work with any JSP 2.0--compliant web container and JSF implementation. In Chapter 4, I'll show you how to download, install, and configure the Tomcat server to run the examples.

In addition, there are a variety of other tools and servers that support JSF, from open source projects and commercial companies. IBM, Oracle, and Sun are some of the companies that have announced plans for JSF development tools, and many others are expected to follow. Two sites to keep an eye on for what's available are http://java.sun.com/j2ee/javaserverfaces/ (Sun's JSF site) and http://www.jamesholmes.com/ JavaServerFaces/ (an independent JSF resources site run by James Holmes). You may want to evaluate some of these tools when youre ready to start developing your application, but all you really need to work with the examples in this book is a regular text editor, such as Notepad, vi, or Emacs, and of course the Tomcat server.

Let's take a closer look at what JSF has to offer. The next chapter starts with an overview of what it takes to use JSF in an application.

DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus

- Java Too Insecure, Says Microsoft Researcher
- Google Beats Oracle in Java Ruling
- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials