Instructor: Hey welcome back.
So in this video, I'm gonna show you how to set up
your development environment for Java Server Faces.
So we'll actually cover the required software
for our JSF development environment
and we'll also discuss the high level steps
on getting everything set up.
Now before we get down to all the gory details
of the JSF requirements,
the one bare bones essential thing
that you'll need is that you'll need to have
the Java Development Kit installed.
So not the JRE, but the actual JDK
or the Java Development Kit.
You can check out my YouTube video
that'll take you through the steps
on how to install Java.
So you can simply go to luv2code.com/install-java
and that'll take you through all the steps
on installing the Java Development Kit.
But at this point I'll assume that you have
the Java Development Kit already installed
and I'll move forward with the next steps.
All right, so once you have the JDK installed,
then we'll go through the required software
for building JSF applications
so you're gonna need the following.
The first thing you're gonna need is a
Java Application Server.
Now, there's a lot of different
Java Application Servers out there
like Tomcat, GlassFish, Jboss, WebLogic, WebSphere
and so on, the list goes on and on.
However to keep things simple and straight forward,
we're gonna make use of the Tomcat server
and the following videos
will show you how to install the Tomcat server.
The next thing you're gonna need is
a development environment or a Java IDE.
Now when you make use of an IDE
or a development tool really,
you can really use any tool that you want.
You can use a text editor like TextPad or Notepad or VI.
You can use NetBeans or whatever,
but again, to keep things simple
I'm gonna focus on the one tool and we're gonna make use
of the Eclipse development environment.
It's the most popular Java development environment.
And I'll show you how to install that
in the following slides.
And then the third thing you're gonna need
is the JSF JAR files.
So JSF is an API, they have a number of classes
and interfaces that you have to use
and you'll have to download those JAR files
and include them in your project.
Now you can manually download the JAR files
from Oracle's website and manually include them, however,
I wanna show you this really cool trick in Eclipse
where Eclipse will actually automatically download
the JSF JAR files for you, and include it into your project.
So, you'll see this information in the following videos.
Now this is a lot of information to cover in just one video,
as far as getting all this software installed.
So what I'm gonna do, I'm actually gonna break it up
into multiple videos.
The first thing I'll do is I'll show you how to install
the Java Application Server or Tomcat.
And I'll show you how to do it for
the different operating systems.
So I'll show you how to install Tomcat for Microsoft Windows
and also for the Macintosh.
Then, we'll move forward to our Java IDE, Eclipse,
and again, I'll show you how to install it for Windows
and also how to install it for the Mac.
And then finally I'll show you how to pull all this together
by making use of Eclipse.
We'll have Eclipse run Tomcat
and also I'll show you how to have Eclipse
download those JSF JAR files for you.
So all this is coming up in the following videos.
So for Tomcat and Eclipse just follow the appropriate
videos for your operating system
and then everything else will merge up after those videos.
All right, so let's do a quick summary.
In this video, we discussed the required software
that's required for JSF development
and we also covered the high level steps.
Stick around, in the following videos
I'll show you how to go through each one of those steps
as far as installing the app server, the IDE
and getting the JSF JAR files installed in your project.