Це відео не доступне.
Перепрошуємо.
Spring Boot & Kotlin Tutorial - Crash Course For Java Devs
Вставка
- Опубліковано 16 сер 2024
- 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
Kotlin Records vs Java Records : stackoverflow....
Spring Boot Tutorial - Crash Course : • Spring Boot Tutorial -...
Gradle - Crash Course : • Gradle Tutorial - Cras...
Advanced Kotlin Techniques for Spring Developers - • Advanced Kotlin Techni...
► FOLLOW ME
/ marcobehler
www.marcobehle...
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.
Thank you!
chatgpt ahh type of comment
Sweet and simple, never learnt so basic and so fast. thank u so much, subscribed
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
Thanks a lot for the lovely feedback, Zandor! Really happy that it served you well.
Anything specific you'd like to see covered in a servlets course?
@@MarcoCodes Oh, so much... But most importantly, perhaps -- how to work with request/response objects and how to send/receive data from front end.
@MarcoCode @ZandorDaysev I'd also like to see such a tutorial (maybe on the Jakarta EE Web Profile) added to Marco's amazing resource set. Many people just jump on Spring, or Vaadin, or whatever else development forgetting the base all these frameworks rely on...
Thanks for this video, Marco!
Thanks 🎉 this is really helpful
Thanks for this video!
Amazing, please make more videos
Love this video.
Nice video with good explanation.
Thanks for the video
Thanks. ありがとう。
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
Spring Data's repositories return you a Java Optional, which in turn have the orElseThrow method.
@@MarcoCodes I guess I have to go watch Spring tutorials first. I know Kotlin quite well, I have used it a lot for Android development, but I am new to backend via Spring
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)
Yup, all valid points.
gracias marco
13th... Thanks Marco
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
line 31 my intellij is asking me to declare a var instead...
Timestamp?
my mistake @@MarcoCodes
Do you have EJB videos?
Nope.
You have to dig up the 1999 Java handbook for that advice. 🤣. If your company is still using EJB, find a new a place to work.