Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
1 1
In this video, we're going to get an 2
2
overview of Spring MVC. 3
3
So what is Spring MVC? 4
4
Well, basically, it's a framework for building web 5
5
applications in Java. 6
6
As the name suggests, it's based on the 7
7
Model-View-Controller design pattern. 8
8
And also, the nice thing about it is that it leverages 9
9
the features of the Core Spring Framework, so you can 10
10
leverage all of your inversion of control, 11
11
and dependency of injection. 12
12
So everything that you've learned in the class so far 13
13
you'll be able to apply in Spring MVC. 14
14
Okay, so here's a big picture here of the MVC framework, 15
15
and the process flow and how it works. 16
16
So basically you have an incoming request coming from 17
17
the browser, it'll encounter the Spring MVC 18
18
front controller. 19
19
This person will actually delegate the request off to a 20
20
controller code. 21
21
This controller code is code that you create that contains 22
22
your business logic. 23
23
You basically create a model, and you send the model back 24
24
to the front controller, and then the front controller, 25
25
will pass that model over to your view template. 26
26
So your view template is basically like a html page, 27
27
or a JSP page that will take that data, and then render 28
28
a response to the browser. 29
29
So that's kind of the big picture of the MVC framework. 30
30
In following videos, I'll kind of break this down, 31
31
and I'll go into more details on each step of the process. 32
32
But anyway, this is a big picture here on how Spring MVC 33
33
will process a web request. 34
34
Alright, so what are the benefits of using Spring MVC? 35
35
Well it's basically Spring's way of building 36
36
web apps using Java. 37
37
So basically you can leverage a set of reusable UI 38
38
components, and these are available in the form of 39
39
Spring JSP custom tags. 40
40
You can also manage your application state for web requests 41
41
for session tracking, or application tracking, 42
42
and you can also process your form data, so you can also 43
43
perform validation on the form data, conversion, 44
44
so on and so forth. 45
45
And finally, Spring MVC has a very flexible configuration 46
46
for the view layers, so you're not limited to only using 47
47
JSP, you can use other view layers like Thymeleaf, 48
48
Velocity, or FreeMarker. 49
49
And I'll talk about this in some of the following videos. 50
50
Alright, now as far as documentation, there's a lot of 51
51
good documentation available. 52
52
Here's the official documentation from Spring. 53
53
You can go to this website I have here, 54
54
luv2code.com/spring-mvc-docs. 55
55
This will basically just redirect you to the official 56
56
documentation at the Spring website. 57
57
So they have a very good write up on how the framework 58
58
works, details, and pretty much everything you need to know 59
59
is available in that documentation. 60
60
That's the actually Spring reference manual. 61
61
And if you wanted to have more information about Spring, 62
62
well there's plenty of books online. 63
63
So you can simply go to Amazon, you can type in the word 64
64
Spring MVC and do a search, and you'll have a lot of good 65
65
hits out there, so a lot of good books out there. 66
66
Go ahead and read the reviews, see which ones work for you, 67
67
and you can proceed accordingly. 68
68
But a lot of information's available at Amazon, and also 69
69
there's a lot of free websites that have Spring MVC 70
70
tutorials, too. 71
71
Alright, so that was just a quick overview of Spring MVC. 72
72
In the following videos I'll go into some details, 73
73
I'll give you a quick behind-the-scenes tour of Spring MVC, 74
74
and then we'll set up our development environment, 75
75
and then we'll start writing some code. 76
76
So I'll see you in the next video.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.