Spring Boot & Kotlin Tutorial - Crash Course For Java Devs

preview_player
Показать описание
Let's write a Spring Boot application in Kotlin. We'll start from scratch with an empty skeleton project and then go about building a tiny CRUD REST service. Along the way we'll cover all important Kotlin language basics & concepts, as well as more advanced topics like, for example, Kotlin & JPA support.

► Timestamps

00:00 Intro
00:22 Spring Initializr
03:44 Gradle & Kotlin
05:13 Project Structure
05:47 Main Class & Basic Kotlin Concepts
09:45 Data Classes
10:46 Var & Val
10:59 Null Safety
11:29 Default Parameter Values
12:47 Extension Functions
14:47 RestControllers
16:38 Named Parameters
17:26 Method Return Syntax
19:19 CRUD
20:18 Ternary Operator
21:43 More Kotlin Concepts (== vs equals, iterators etc)
25:26 JPA
31:37 Further Reading

► Timestamps

► FOLLOW ME

Рекомендации по теме
Комментарии
Автор

This insight is incredibly beneficial for a Java developer like myself, with experience in Spring Boot. The video's focus on the Kotlin aspect is particularly useful. It holds great relevance in the current tech landscape where companies are actively migrating their codebases from Java to Kotlin. Looking forward to more videos along similar lines in the future.

santoshkamat
Автор

Sweet and simple, never learnt so basic and so fast. thank u so much, subscribed

VikashSharmaVS
Автор

Hi Marco! Just wanted to thank you for your amazing tutorials! And, maybe, ask for one on JavaEE (servlets, basically). You see, I bought your tutorial on Spring Boot (amazing stuff!), but... You explanations for servlets at the beginning were so amazing, that I started switched from Spring Boot to just servlets.

As I said, the course is astonishing! (great explanations examples and coverage), and now I yearn for a servlets course

ZandorDaysev
Автор

28:18
I can't understand what function "orElseThrow" is and where does it come from. I can of course write my own extension function for Article or a method for Article or a global extension function, but it seems a bit off

kreslokkd
Автор

In my opinion, kotlin extension is powerful but can lead to big problem. Why we made toSlug() for ALL strings? For example, field "string name" also will be with that function. Why? misunderstandably)

maximelmanov
Автор

Thank you for not explaining that we need a main method as a starting point of our app and how we cannot assing string to int

zefalien
Автор

line 31 my intellij is asking me to declare a var instead...

acpollazzo
visit shbcf.ru