Skip to content

Set Up Workshop

Raquib Alam edited this page Mar 8, 2022 · 1 revision

Welcome to the spring_portfolio wiki!

Set-Up for Workshop

Please finish before attending the workshop on 3/15/2022

Getting started

  • Clone project to IntelliJ
  • Verify Project Structure to use a good Java JDK (adopt-openJ9-15)
  • Play or entry point is Main.java, look for play option in-tray. This file enables Spring to load
  • Java source (src/main/java) had Java files. Find "controllers" path, these files enable HTTP route and HTML file relationship. Note, HTML
  • HTML source (src/main/resources) had templates and supporting files. Find index.html as this file is launched by default in Spring. Other HTML files are loaded by building a "@Controller" IDE management
  • A ".gitignore" can teach a Developer a lot about Java runtime. A target directory is created when you press the play button, byte code is generated and files are moved into this location.
  • A "pom.xml" file can teach you a lot about Java dependencies. This is similar to the "requirements.txt" file in Python. It manages packages and dependencies.
Clone this wiki locally