[Part1] | How to Create a Java Server Faces (JSF) Development Environment + Apache Tomcat + Suns JDK

http://www.youtube.com/watch?v=KmvRUnNRytoendofvid [starttext]

This is part one of a three part Java Server Faces CBT Tutorial that demonstrates how to configure your Windows XP environment in order to do some JSF development.

The idea is that first you need to install the JDK, configure the JAVA_HOME environment variable, and then install the Tomcat Servlet & JSP engine. With the JAVA_HOME set, and the bin directory of the Tomcat6 server located, it's just a matter of running the startup.bat file and your tomcat server can be found at http://localhost:8080

After installing and configuration Tomcat, further tutorials demonstrate how to obtain the JSF JAR files from the mojarra project (jsf-api.jar & jsf-api.jar). We even recommend finding the jstl.jar and standard.jar files from the examples in the Tomcat installation.

Subsequent tutorials demonstrate how to create a simple J2EE/JEE5 war file with the appropriate war file structure, how to create a web.xml deployment descriptor, a faces-config.xml file, and finall, how to jar the whole darn thing up and deploy it to the Servlet Engine.

This tutorial uses Apache Tomcat, but the instructions will work with any J2EE/JEE5 compliant application server, including WebSphere, WebLogic, Tomcat, Oracle, etc.
[endtext]

Check out this stream