Ch9: Spring Into MVC Flashcards
Define Design Patterns
Design templates that are abstract solutions to common software architecture problems
____ is a design pattern where the programming logic behind the application is broken down into 3 components: models, views, and controllers
Model-View-Controller (MVC)
Define model
handles data and business logic of application
Define controller
passes information for models to views
Define view
handles user interface elements
List 2 benefits of using MVC design pattern
- all programming logic broken into 3 digestible components, allowing us to build extensible applications
- Separates underlying business logic from user interface
Define extensible
Designed to allow addition of new capabilities and functionality
How are Sping, Spring Boot, and Spring MVC related?
Spring - Java framework with several different modules and extensions
Spring MVC - module of Spring
Spring Boot - extension of Spring MVC
What do you use Spring Boot for?
Used to build Java based web apps with MVC design pattern.
What is Tomcat?
Embedded application server in Spring Boot. Allows us to run apps.
What is Gradle
Tool that automates many of the tasks associated with working with a large Java project
How do you integrate Gradle with IntelliJ when starting a project?
Import the project using Gradle as the external model
What are Gradle tasks?
Actions gradle can perform for you, such as running or testing application