﻿WEBVTT

1
00:00:01.161 --> 00:00:03.254
<v Narrator>In this video, we're gonna get an update</v>

2
00:00:03.254 --> 00:00:04.254
on Spring 5.

3
00:00:07.062 --> 00:00:09.369
So in the previous video, I actually gave you

4
00:00:09.369 --> 00:00:10.780
the Spring Release Timeline,

5
00:00:10.780 --> 00:00:12.771
but I need to make a quick update here,

6
00:00:12.771 --> 00:00:16.835
because recently they made some new releases to Spring.

7
00:00:16.835 --> 00:00:20.544
So in September of 2017 they released Spring 5.

8
00:00:20.544 --> 00:00:22.170
Yeah, wow, pretty exciting.

9
00:00:22.170 --> 00:00:25.825
So a new, major version of Spring was released.

10
00:00:25.825 --> 00:00:27.696
And so you may wonder, "OK, well,

11
00:00:27.696 --> 00:00:30.053
"what's new in Spring 5?"

12
00:00:30.053 --> 00:00:32.012
Well, one item here is that they

13
00:00:32.012 --> 00:00:35.588
upgraded the minimum requirements of Java to Java 8.

14
00:00:35.588 --> 00:00:39.755
So, in order to use Spring 5 you must use Java 8 or higher.

15
00:00:40.740 --> 00:00:43.686
They also deprecated legacy integration

16
00:00:43.686 --> 00:00:46.977
for some old, third-party projects.

17
00:00:46.977 --> 00:00:48.449
So there were some third-party projects

18
00:00:48.449 --> 00:00:50.988
like Tiles, Velocity, Portlets and so on,

19
00:00:50.988 --> 00:00:53.093
they removed support for those.

20
00:00:53.093 --> 00:00:55.722
Now, don't worry, it doesn't impact this course

21
00:00:55.722 --> 00:00:57.917
because I don't cover those projects

22
00:00:57.917 --> 00:00:59.867
because they're already outdated

23
00:00:59.867 --> 00:01:01.705
and I decided not to cover them anyway,

24
00:01:01.705 --> 00:01:04.195
so no impact here on this course.

25
00:01:04.195 --> 00:01:07.649
They also upgraded Spring MVC to the new version

26
00:01:07.649 --> 00:01:10.688
of Servlet API 4.0, just to take advantage

27
00:01:10.688 --> 00:01:14.191
of some of the newer features in that Servlet API.

28
00:01:14.191 --> 00:01:15.532 line:15% 
Another item here is that they added

29
00:01:15.532 --> 00:01:19.699 line:15% 
a new reactive programming framework called Spring WebFlux.

30
00:01:21.375 --> 00:01:23.865
Now, you may want to get more details here

31
00:01:23.865 --> 00:01:25.937
on the actual release notes.

32
00:01:25.937 --> 00:01:28.527
So what I've done here is set up a link on my website,

33
00:01:28.527 --> 00:01:31.911
luv2code.com/spring-5-what's-new.

34
00:01:31.911 --> 00:01:35.588
This'll actually redirect you to the official Spring website

35
00:01:35.588 --> 00:01:37.966
and it will show you the Spring 5 release notes

36
00:01:37.966 --> 00:01:41.753
where they itemize each one of the new features.

37
00:01:41.753 --> 00:01:44.159 line:15% 
So you may also have questions about Spring 5

38
00:01:44.159 --> 00:01:46.244 line:15% 
as far as Frequently Asked Questions.

39
00:01:46.244 --> 00:01:49.464 line:15% 
So again, at luv2code.com/spring-5-faq

40
00:01:49.464 --> 00:01:52.392 line:15% 
it will simply redirect you to the official Spring website

41
00:01:52.392 --> 00:01:56.992 line:15% 
where they list all of the FAQs and provide answers.

42
00:01:56.992 --> 00:01:59.320
Now you may wonder, "Well, how does Spring 5

43
00:01:59.320 --> 00:02:00.832
"impact this course?"

44
00:02:00.832 --> 00:02:02.055
Well, the nice thing to know is

45
00:02:02.055 --> 00:02:04.460
that all of the code examples in this course

46
00:02:04.460 --> 00:02:06.248
will work on Spring 5.

47
00:02:06.248 --> 00:02:08.819
And, I'll also add new videos

48
00:02:08.819 --> 00:02:12.486
to cover the new Spring 5 specific features.

49
00:02:13.411 --> 00:02:16.651
Okay, but you may wonder, "Well, what about Spring 4?"

50
00:02:16.651 --> 00:02:18.290
Because some of you may have projects

51
00:02:18.290 --> 00:02:20.708
at your job that are still using Spring 4.

52
00:02:20.708 --> 00:02:23.135
And you need to learn Spring, and you need

53
00:02:23.135 --> 00:02:24.801
to be able to support Spring 4

54
00:02:24.801 --> 00:02:27.259
and then also possibly look at some Spring 5 stuff.

55
00:02:27.259 --> 00:02:29.352
But don't worry, because the majority of the videos

56
00:02:29.352 --> 00:02:31.637
in this course were run on Spring 4.

57
00:02:31.637 --> 00:02:34.088
Spring 5 simply added some new features.

58
00:02:34.088 --> 00:02:37.996 line:15% 
But the core Spring 4 features are still the same.

59
00:02:37.996 --> 00:02:39.633 line:15% 
So those things don't change.

60
00:02:39.633 --> 00:02:43.737 line:15% 
So, like, Inversion of Control, Dependency Injection,

61
00:02:43.737 --> 00:02:48.358 line:15% 
Spring AOP, Spring MVC, all that's in Spring 4

62
00:02:48.358 --> 00:02:50.693 line:15% 
and it also works the same in Spring 5.

63
00:02:50.693 --> 00:02:52.500
So, no worries there.

64
00:02:52.500 --> 00:02:54.973
All of the core stuff, the important stuff,

65
00:02:54.973 --> 00:02:55.966
is still the same.

66
00:02:55.966 --> 00:02:58.262
Because Spring 5 simply just added new stuff.

67
00:02:58.262 --> 00:03:00.497
They didn't go back and break any of the old stuff.

68
00:03:00.497 --> 00:03:03.149
So, you're in good books there.

69
00:03:03.149 --> 00:03:06.298
Alright, so what about Spring 5-specific features?

70
00:03:06.298 --> 00:03:07.944
So I'll have videos that will cover

71
00:03:07.944 --> 00:03:09.772
Spring 5-specific features

72
00:03:09.772 --> 00:03:13.171
and these will not work with Spring 4.

73
00:03:13.171 --> 00:03:14.039
Expected, right?

74
00:03:14.039 --> 00:03:15.665
It's a new feature.

75
00:03:15.665 --> 00:03:19.832
So for example, Spring 5 WebFlux will not work on Spring 4

76
00:03:21.076 --> 00:03:24.738
because it's a new feature that was added in Spring 5.

77
00:03:24.738 --> 00:03:27.878 line:15% 
So for those videos, I'll give a special label.

78
00:03:27.878 --> 00:03:31.344 line:15% 
I'll say, "Spring 5 Only," just so that you know that,

79
00:03:31.344 --> 00:03:34.212 line:15% 
"Hey, this is something Spring 5 specific

80
00:03:34.212 --> 00:03:36.891 line:15% 
"and it'll only work in a Spring 5 environment.

81
00:03:36.891 --> 00:03:40.224 line:15% 
"I can't use it on my Spring 4 project."

82
00:03:41.381 --> 00:03:43.627
So I just wanted to give you that quick update.

83
00:03:43.627 --> 00:03:46.377
So I'll see ya in the next video.

