Java OUT, Kotlin In: How to Migrate Your Spring Boot Projects
In this tutorial I'll show you how to migrate a Java Spring Boot project to a Kotlin Spring Boot project.
💌 Know when my latest course drops and get exclusive discounts, join the Devtiro mailing list: devtiro.ck.page/6cefe101ae
🔗 Links
‣ Join the Mailing List: devtiro.ck.page/6cefe101ae
‣ Source Code: github.com/devtiro/tutorial-s...
- Spring Boot for Beginners Course: • The ULTIMATE Guide to ...
🍿 Watch Next
‣ Spring Boot for Beginners Course: bit.ly/44c1xZI
‣ Spring Boot Crash Course (Theory): • Get started with Sprin...
🚀 *My Free Online Courses*
‣ Spring Boot for Beginners: bit.ly/44c1xZI
⌨️ *My Gear*
‣ Logitech MX Master Mouse: amzn.to/4aDGhOK
‣ Keychron K3 Keyboard: amzn.to/445FjIF
‣ Sony Alpha 6400: amzn.to/4dkl8uX
‣ Sigma 16mm F1.4 Lens: amzn.to/4d7vQEF
‣ RØDE PodMic: amzn.to/3JN4ruB
📚 Recommended Books for Devs
‣ Clean Code (A must read!) - amzn.to/3UrGA9G
‣ The Phoenix Project - amzn.to/3UsiCtZ
‣ Head First Java - amzn.to/3w3D8ZA
🤔 Who Am I
I'm Aaron Bourne, a KZreadr and Software Developer working and living in the UK. I make videos that share the skills I've built from developing software commercially for almost 15 years. I hope to make software development accessible for everyone and help to make our software better.
⌚ Timestamps
00:00 Intro
00:37 Get the Code
02:14 Project Overview
03:36 Delombok
04:47 Install Kotlin
6:34 Convert to Java
8:07 Fix Main
10:35 Fix Presentation Layer
17:06 Fix Service Layer
28:00 Remove Java Optionals
29:22 Migrate to Kotin dirs
29:42 Configure POM.xml
31:42 Fix Tests
32:40 Fix Mappers
36:28 Run the Project
38:05 Next Up
Thank you for watching!
Full disclosure, some of the links in this description are affiliate links that I get a commission from.
Пікірлер: 12
To know when my latest course drops and get exclusive discounts, join the Devtiro mailing list: devtiro.ck.page/6cefe101ae
@user-on2vy3cz4v
2 ай бұрын
@devtiro do you think that kotlin may eventually phase out java for spring-boot applications?
Thanks, man! I migrated a project earlier and couldn't get it to work because the MongoDB driver uses Java reflection. I added the Kotlin-reflect library, and it worked.
Amazing! Was currently converting a service at my job from java to kotlin.
After a very long time! Very nice.
Too early! Amazing stuff as always Devtiro!
You are the greatest person I naver seen before 😅
Liked and subscribed! Keep going brother!
It's good to see you again. Thanks for your dedication 🫸🫷
you're the best!, lease, could you implement Spring Security using JWT for authentication and then utilize it to interact with the database, such as creating todos? It would be super-duper helpful,
Nice