Skip to content

Lesson 8 (Intro to Spring and Controllers)

Courtney Frey edited this page Apr 14, 2022 · 2 revisions

Lesson 8: Introduction to Spring Boot, MVC, and Controllers

In the prep work for this lesson, the students learned

  1. About the MVC design pattern.
  2. What the Spring framework is.
  3. How to initialize a Spring Boot project.
  4. How to handle routing and write controllers in Spring.

Announcements

  1. Check with your course manager for any important announcements.

For Part-Time Students:

For Full-Time Students:

  • Welcome to Day 14!
  • Assignment 2 die by end of today

Large Group Time (Instructor)

Lesson 8 Topics That Require Careful Attention

  1. The Java/Gradle development environment can be tricky. We've included required configuration checks. in the book. Be sure to check that these are met. Some students may encounter issues that we were not able to anticipate in the text. Some minor versions of the software may be different than what is listed in the text.

    1. Java 13 and Gradle 6 are the most crucial to have.
    2. If a student has an environment or build issue, do your best to reassure them that these types of configuration hurdles can be common.
  2. Lesson 8 content includes a number of short videos meant to be coding walkthroughs. Remind the students that it is critical to code along with these. We introduce some IntelliJ tips they may find useful, as well as provide visual aids for the controller tasks we give them.

  3. You may find it useful to review some relevant HTTP topics since a foundational understanding of the protocol is expected.

  4. @RequestMapping is the first Java annotation students have seen that can take a parameter.

Small Group Time: Lesson 8 Studio (TA Notes)

  1. Do your best to help students who may be stuck with IntelliJ errors or warnings related to Gradle or JDK versions.
  2. This studio will be their first foray into creating their own Spring project. Remind them of the necessary configuration options to choose on start.spring.io.
  3. Some students may also benefit from a reminder of how to create a select tag.
Clone this wiki locally