Getting started with your first Java app
Rory Preddy shows how to go from a folder of Java files to a running Spring Boot web app inside Visual Studio Code, including setting up the Java and Spring Boot tooling, building with Maven, running from the Spring Boot Dashboard, and testing a simple end-to-end workflow.
Overview
The video walks through a beginner-friendly Java + Spring Boot workflow in Visual Studio Code:
- Install Java tooling in VS Code
- Install Spring Boot tooling in VS Code
- Open and explore an existing Spring Boot project
- Build the application with Maven
- Run the app from the Spring Boot Dashboard
- Test a simple “to-do” workflow end to end
Resources
- Sample repository: https://github.com/microsoft/github-copilot-java-mcp-demo
- Microsoft Build of OpenJDK: https://learn.microsoft.com/en-us/java/openjdk/download
- Extension Pack for Java (VS Code): https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
- Spring Boot Extension Pack (VS Code): https://marketplace.visualstudio.com/items?itemName=vmware.vscode-boot-dev-pack
Chapters
- 0:00 Introduction
- 01:18 Install the Java tools
- 02:29 Install the Spring Boot tools
- 02:54 Explore the project
- 05:55 Build with Maven and run the app
- 07:00 Test the to-do workflow
- 07:48 Recap
- 08:16 Happy building