Це відео не доступне.
Перепрошуємо.

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...

КОМЕНТАРІ • 34

  • @santoshkamat6132
    @santoshkamat6132 10 місяців тому +3

    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.

  • @VikashSharmaVS
    @VikashSharmaVS 8 місяців тому +2

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

  • @ZandorDaysev
    @ZandorDaysev 10 місяців тому +1

    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

    • @MarcoCodes
      @MarcoCodes  10 місяців тому +1

      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?

    • @ZandorDaysev
      @ZandorDaysev 10 місяців тому

      @@MarcoCodes Oh, so much... But most importantly, perhaps -- how to work with request/response objects and how to send/receive data from front end.

    • @octaviantheodor
      @octaviantheodor 10 місяців тому

      @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...

  • @mateuszdelfin2701
    @mateuszdelfin2701 11 місяців тому

    Thanks for this video, Marco!

  • @arghyamitra3281
    @arghyamitra3281 Місяць тому

    Thanks 🎉 this is really helpful

  • @maximelmanov6719
    @maximelmanov6719 11 місяців тому

    Thanks for this video!

  • @user-kj9eh9jf3c
    @user-kj9eh9jf3c 11 місяців тому

    Amazing, please make more videos

  • @user-sq1nd8ln9k
    @user-sq1nd8ln9k 8 місяців тому

    Love this video.

  • @Anbu_Sampath
    @Anbu_Sampath 11 місяців тому

    Nice video with good explanation.

  • @sanskaari.24
    @sanskaari.24 3 місяці тому

    Thanks for the video

  • @tak68tak
    @tak68tak 9 місяців тому

    Thanks. ありがとう。

  • @kreslokkd
    @kreslokkd Місяць тому

    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

    • @MarcoCodes
      @MarcoCodes  Місяць тому

      Spring Data's repositories return you a Java Optional, which in turn have the orElseThrow method.

    • @kreslokkd
      @kreslokkd Місяць тому

      @@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

  • @maximelmanov6719
    @maximelmanov6719 10 місяців тому

    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)

    • @MarcoCodes
      @MarcoCodes  10 місяців тому

      Yup, all valid points.

  • @jirmanalexanderrodriguez8402
    @jirmanalexanderrodriguez8402 11 місяців тому

    gracias marco

  • @jopadjr
    @jopadjr 11 місяців тому

    13th... Thanks Marco

  • @zefalien1413
    @zefalien1413 6 місяців тому

    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

  • @acpollazzo
    @acpollazzo 7 місяців тому

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

  • @user-dg2hh1tq7d
    @user-dg2hh1tq7d 11 місяців тому

    Do you have EJB videos?

    • @MarcoCodes
      @MarcoCodes  10 місяців тому

      Nope.

    • @fdadfas6624
      @fdadfas6624 7 місяців тому

      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.