﻿WEBVTT

1
00:00:01.287 --> 00:00:02.726
<v Instructor>Hey welcome back.</v>

2
00:00:02.726 --> 00:00:04.988
So in this video, I'm gonna show you how to set up

3
00:00:04.988 --> 00:00:09.155
your development environment for Java Server Faces.

4
00:00:10.227 --> 00:00:12.282
So we'll actually cover the required software

5
00:00:12.282 --> 00:00:14.480
for our JSF development environment

6
00:00:14.480 --> 00:00:16.380
and we'll also discuss the high level steps

7
00:00:16.380 --> 00:00:18.797
on getting everything set up.

8
00:00:20.657 --> 00:00:22.581
Now before we get down to all the gory details

9
00:00:22.581 --> 00:00:24.703
of the JSF requirements,

10
00:00:24.703 --> 00:00:27.243
the one bare bones essential thing

11
00:00:27.243 --> 00:00:28.935
that you'll need is that you'll need to have

12
00:00:28.935 --> 00:00:31.093
the Java Development Kit installed.

13
00:00:31.093 --> 00:00:33.895
So not the JRE, but the actual JDK

14
00:00:33.895 --> 00:00:35.742
or the Java Development Kit.

15
00:00:35.742 --> 00:00:37.321
You can check out my YouTube video

16
00:00:37.321 --> 00:00:38.632
that'll take you through the steps

17
00:00:38.632 --> 00:00:39.945
on how to install Java.

18
00:00:39.945 --> 00:00:44.407
So you can simply go to luv2code.com/install-java

19
00:00:44.407 --> 00:00:45.640
and that'll take you through all the steps

20
00:00:45.640 --> 00:00:48.139
on installing the Java Development Kit.

21
00:00:48.139 --> 00:00:49.568
But at this point I'll assume that you have

22
00:00:49.568 --> 00:00:51.757
the Java Development Kit already installed

23
00:00:51.757 --> 00:00:55.257
and I'll move forward with the next steps.

24
00:00:56.549 --> 00:00:58.405
All right, so once you have the JDK installed,

25
00:00:58.405 --> 00:01:00.552
then we'll go through the required software

26
00:01:00.552 --> 00:01:02.970
for building JSF applications

27
00:01:02.970 --> 00:01:04.735
so you're gonna need the following.

28
00:01:04.735 --> 00:01:05.901
The first thing you're gonna need is a

29
00:01:05.901 --> 00:01:07.862
Java Application Server.

30
00:01:07.862 --> 00:01:09.205
Now, there's a lot of different

31
00:01:09.205 --> 00:01:10.998
Java Application Servers out there

32
00:01:10.998 --> 00:01:15.168
like Tomcat, GlassFish, Jboss, WebLogic, WebSphere

33
00:01:15.168 --> 00:01:17.674
and so on, the list goes on and on.

34
00:01:17.674 --> 00:01:19.729
However to keep things simple and straight forward,

35
00:01:19.729 --> 00:01:21.545
we're gonna make use of the Tomcat server

36
00:01:21.545 --> 00:01:22.543
and the following videos

37
00:01:22.543 --> 00:01:24.855
will show you how to install the Tomcat server.

38
00:01:24.855 --> 00:01:26.215
The next thing you're gonna need is

39
00:01:26.215 --> 00:01:29.609
a development environment or a Java IDE.

40
00:01:29.609 --> 00:01:31.380
Now when you make use of an IDE

41
00:01:31.380 --> 00:01:33.142
or a development tool really,

42
00:01:33.142 --> 00:01:35.386
you can really use any tool that you want.

43
00:01:35.386 --> 00:01:38.845
You can use a text editor like TextPad or Notepad or VI.

44
00:01:38.845 --> 00:01:40.605
You can use NetBeans or whatever,

45
00:01:40.605 --> 00:01:42.441
but again, to keep things simple

46
00:01:42.441 --> 00:01:44.824
I'm gonna focus on the one tool and we're gonna make use

47
00:01:44.824 --> 00:01:46.548
of the Eclipse development environment.

48
00:01:46.548 --> 00:01:49.881
It's the most popular Java development environment.

49
00:01:49.881 --> 00:01:51.036
And I'll show you how to install that

50
00:01:51.036 --> 00:01:52.360
in the following slides.

51
00:01:52.360 --> 00:01:53.737
And then the third thing you're gonna need

52
00:01:53.737 --> 00:01:55.788
is the JSF JAR files.

53
00:01:55.788 --> 00:01:58.430
So JSF is an API, they have a number of classes

54
00:01:58.430 --> 00:02:00.093
and interfaces that you have to use

55
00:02:00.093 --> 00:02:01.969
and you'll have to download those JAR files

56
00:02:01.969 --> 00:02:04.066
and include them in your project.

57
00:02:04.066 --> 00:02:05.987
Now you can manually download the JAR files

58
00:02:05.987 --> 00:02:09.570
from Oracle's website and manually include them, however,

59
00:02:09.570 --> 00:02:11.827
I wanna show you this really cool trick in Eclipse

60
00:02:11.827 --> 00:02:14.443
where Eclipse will actually automatically download

61
00:02:14.443 --> 00:02:18.641
the JSF JAR files for you, and include it into your project.

62
00:02:18.641 --> 00:02:22.808
So, you'll see this information in the following videos.

63
00:02:24.979 --> 00:02:28.297
Now this is a lot of information to cover in just one video,

64
00:02:28.297 --> 00:02:30.955
as far as getting all this software installed.

65
00:02:30.955 --> 00:02:32.954
So what I'm gonna do, I'm actually gonna break it up

66
00:02:32.954 --> 00:02:34.584
into multiple videos.

67
00:02:34.584 --> 00:02:36.859
The first thing I'll do is I'll show you how to install

68
00:02:36.859 --> 00:02:39.920
the Java Application Server or Tomcat.

69
00:02:39.920 --> 00:02:41.275
And I'll show you how to do it for

70
00:02:41.275 --> 00:02:42.615
the different operating systems.

71
00:02:42.615 --> 00:02:45.868
So I'll show you how to install Tomcat for Microsoft Windows

72
00:02:45.868 --> 00:02:47.969
and also for the Macintosh.

73
00:02:47.969 --> 00:02:51.548
Then, we'll move forward to our Java IDE, Eclipse,

74
00:02:51.548 --> 00:02:54.328
and again, I'll show you how to install it for Windows

75
00:02:54.328 --> 00:02:56.501
and also how to install it for the Mac.

76
00:02:56.501 --> 00:02:59.049
And then finally I'll show you how to pull all this together

77
00:02:59.049 --> 00:03:00.868
by making use of Eclipse.

78
00:03:00.868 --> 00:03:02.728
We'll have Eclipse run Tomcat

79
00:03:02.728 --> 00:03:04.859
and also I'll show you how to have Eclipse

80
00:03:04.859 --> 00:03:07.514
download those JSF JAR files for you.

81
00:03:07.514 --> 00:03:10.023
So all this is coming up in the following videos.

82
00:03:10.023 --> 00:03:13.124
So for Tomcat and Eclipse just follow the appropriate

83
00:03:13.124 --> 00:03:15.111
videos for your operating system

84
00:03:15.111 --> 00:03:19.278
and then everything else will merge up after those videos.

85
00:03:21.045 --> 00:03:22.817
All right, so let's do a quick summary.

86
00:03:22.817 --> 00:03:25.108
In this video, we discussed the required software

87
00:03:25.108 --> 00:03:27.212
that's required for JSF development

88
00:03:27.212 --> 00:03:30.169
and we also covered the high level steps.

89
00:03:30.169 --> 00:03:31.986
Stick around, in the following videos

90
00:03:31.986 --> 00:03:34.068
I'll show you how to go through each one of those steps

91
00:03:34.068 --> 00:03:36.758
as far as installing the app server, the IDE

92
00:03:36.758 --> 00:03:40.925
and getting the JSF JAR files installed in your project.

