Ch9: Spring Into MVC Flashcards

1
Q

Define Design Patterns

A

Design templates that are abstract solutions to common software architecture problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

____ is a design pattern where the programming logic behind the application is broken down into 3 components: models, views, and controllers

A

Model-View-Controller (MVC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define model

A

handles data and business logic of application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define controller

A

passes information for models to views

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define view

A

handles user interface elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

List 2 benefits of using MVC design pattern

A
  1. all programming logic broken into 3 digestible components, allowing us to build extensible applications
  2. Separates underlying business logic from user interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define extensible

A

Designed to allow addition of new capabilities and functionality

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How are Sping, Spring Boot, and Spring MVC related?

A

Spring - Java framework with several different modules and extensions
Spring MVC - module of Spring
Spring Boot - extension of Spring MVC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What do you use Spring Boot for?

A

Used to build Java based web apps with MVC design pattern.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Tomcat?

A

Embedded application server in Spring Boot. Allows us to run apps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Gradle

A

Tool that automates many of the tasks associated with working with a large Java project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you integrate Gradle with IntelliJ when starting a project?

A

Import the project using Gradle as the external model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are Gradle tasks?

A

Actions gradle can perform for you, such as running or testing application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly