Categories: Tutorials

Dan Vega’s 2023 Spring Boot Tutorial for Beginners

A free crash course on Spring and Spring Boot for total beginners
by none other than Dan Vega, the renowned Spring developer advocate for VMware. It’s free and up for grabs on Youtube.

The course, at the simplest of levels, answers two fundamental questions which tend to confuse those not familiar with Spring’s ecosystem:

Why are there two different projects, Spring and Spring Boot? and What is the difference between them ?

Dan Vega not only provides answers, but he goes on to show how to build a fully-fledged Web application with the latest version, Spring Boot 3, in a tutorial that lasts almost 4 hours, code included.

The application is a Content calendar, delivered as a Spring MVC project, sporting a simple REST API front end. That API is directly called by means of a testing utility such as Postman, curl, or HTTPie.

It might sound like a simplistic application, but in reality, it encompasses all that is necessary in order to understand Spring and Spring Boot:

 

    • MVC structure
    • Inversion of control/dependency injection
    • Application context
    • Beans
    • Annotations
    • Jdbctemplate and Spring Data
    • Json/Jackson
    • Application server setup with embedded Tomcat
    • Validation
    • Spring boot configuration/properties
    • new Java features like Records

and all presented in layman’s terms.

 

 

In order to follow along all you need is:

    • Some experience with Java
    • Java build tools Maven or Grade
    • An IDE for Java development, typically IntelliJ or VSCode
    • A REST API testing utility like Postman, curl, or HTTP Pie
    • As for databases, H2 for an embedded database but at times Postgres on Docker

 

To keep it at a total novice level the project doesn’t include any security features like login and authentication.
The course ends by making suggestions on how to go about deploying your finished application on a platform like Azure or Railway. It also hints at Native images and points at more resources for further study.

All in all, it provides a great head start on entering Spring’s world.

 

 

 

More Information

 

Spring Boot Tutorial for Beginners – 2023 Crash Course using Spring Boot 3
Github code

 

Related Articles

A New Era For Spring

Spring Data JDBC For SQLite

Microsoft Goes All Out On Java

 

Source

InfoLair

Our primary beliefs and values include giving our readers quality material, disseminating information to encourage informed thinking, and supporting policies and ideas. We frequently curate or extract content from reliable online sources in order to uphold those ideals.

Recent Posts

Armagh’s annual craft fair returns to Market Place Theatre! – Armagh I

Armagh’s Market Place Theatre & Arts Centre are delighted to announce that the hugely successful… Read More

7 hours ago

Four Chicago businesses make Yelp’s ‘Top 100 Local Businesses’ in the U.S. – NBC Chicago

Four Chicago businesses were recognized as "locally loved" during National Small Business Week, finding their… Read More

23 hours ago

Boy, 14, killed in Hainault sword attack attended same school as Nottingham stabbing victim Grace O’Malley-Kumar | Breaking News News

By Tom Gillespie, News reporter @TomGillespie1 Wednesday 1 May 2024 11:59, UK The 14-year-old boy… Read More

1 day ago

Watch Brittany Aldean's Hair Tutorial For Beach-Worthy Waves – iHeartRadio

Watch Brittany Aldean's Hair Tutorial For Beach-Worthy Waves  iHeartRadio Source Read More

2 days ago

My DIY accent wall transformed my entryway

A DIY-SAVVY homeowner has amazed people with the accent wall she added to her drab… Read More

5 days ago

“Park In Front Of A Bank”: 30 People Share Their Best Life Hacks

It's so easy to learn anything these days with the internet at our fingertips. There… Read More

7 days ago

This website uses cookies.