JAVA DTO Pattern Tutorial | Simplify Your Code

  Рет қаралды 191,802

Amigoscode

Amigoscode

Күн бұрын

Learn how to use the JAVA DTO (Data Transfer Object) pattern in this easy-to-follow tutorial. The JAVA DTO pattern is a great way to simplify your code and optimize data transfer in your JAVA applications. In this video, we will cover best practices, tips and tricks, and a practical example of how to implement the JAVA DTO pattern in your code.
► To enter the giveway
1 - Subscribe and Like
2 - Leave Comment
3 - Follow me on LinkedIn - / nelsonamigoscode
4 - Join discord and comment on channel GIVEWAYS/jetbrains-ides - amigoscode.com/p/join-community
Don't Forget to
===========================================
💯 Subscribe to Amigoscode - bit.ly/2HpF5V8
💯 Courses Available for free here - amigoscode.com/courses
💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
⭐ Table Of Contents ⭐
===========================================
00:00 - Intro
00:22 - Course Announcement
01:12 - Give away
02:00 - DTO Explained
05:31 - MapStruct
06:19 - DTO Example
08:48 - Mappers
13:20 - Fixing Tests
14:47 - Test Changes
16:01 - Combine multiple objects
18:00 - Outro
🙊 Here are the goods for all my videos video 🙊
► Recommended Books
===========================================
- Clean Code - amzn.to/2UGDPlX
- HTTP: The Definitive Guide - amzn.to/2JDVi8s
- Clean Architecture - amzn.to/2xOBNXW
► Computer and Monitor
===========================================
- New Apple MacBook Pro - amzn.to/3464Mmn
- Dell 27 INCH Ultrasharp U2719D Monitor - amzn.to/2xM3nW1
- Double Arm Stand Desk Mount - amzn.to/3aYKKfs
- USB C Hub Multiport Adapter - amzn.to/2Jz7NlL
► Camera Gear
=============================================
- Sony ILCE7M3B Full Frame Mirrorless Camera - amzn.to/346QIJn
- Sigma 16 mm F1.4 DC DN - amzn.to/2wbic3Q
- Sigma 33B965 30 mm F1.4 DC DC - amzn.to/39G37Fd
► IDE & Tools I use for coding 💻 🎒
===========================================
- ITerm
- VsCode
- GoLand
- IntelliJ Ultimate
- Sublime
P.S
===========================================
💯 Don't forget to subscribe | bit.ly/2HpF5V8
💯 Join Private Facebook Group and Discord - amigoscode.com/p/join-community
💯 Follow me on Instagram | bit.ly/2TSkA9w
❤️ Thanks for watching

Пікірлер: 498
@amigoscode
@amigoscode Жыл бұрын
► To enter the giveway 1 - Subscribe and Like 2 - Leave Comment 3 - Follow me on LinkedIn - www.linkedin.com/in/nelsonami... 4 - Join discord and comment on channel GIVEWAYS/jetbrains-ides - amigoscode.com/p/join-community
@olanrewajusaka3991
@olanrewajusaka3991 Жыл бұрын
have done that
@eugenendjaka342
@eugenendjaka342 Жыл бұрын
the discord link is invalid
@yao-fiawomojustinadjassem6781
@yao-fiawomojustinadjassem6781 Жыл бұрын
Good job
@yao-fiawomojustinadjassem6781
@yao-fiawomojustinadjassem6781 Жыл бұрын
Good job
@abdallahboucedraya
@abdallahboucedraya Жыл бұрын
بارك الله فيك وفيما تفعل ونفع بك
@AdrianAcostaPR
@AdrianAcostaPR Жыл бұрын
I just love how you teach these stuff! I’ve been able to grasp so much on Java by just watching your smaller videos, imagine what I’ll be able to learn on that 30 hour long course!!!😮🎉 keep up the great work!
@rhumedisi2783
@rhumedisi2783 Жыл бұрын
Hi Nelson, your courses are not only well taught, they are practical, relevant to industry and empowering for learners who would implement your teaching. Thanks for always doing great videos on relevant topics. Working on Java projects via your teachings have never been easier and more interesting.
@zhongwenzhao8286
@zhongwenzhao8286 Жыл бұрын
是的朋友,说的很对
@camillaconte6844
@camillaconte6844 Жыл бұрын
Hi Nelson! Your tutorials are real game changers! 20 minutes of one of your videos are often worth 20 hours of reading and listening to other resources! Thanks soooo much!!!
@rsbah
@rsbah 22 күн бұрын
Not really A lot of the video is just watching him code..
@druiz912
@druiz912 Жыл бұрын
Hi Nelson! I thank you from the bottom of my heart for all the professional and practical knowledge that you share with the community. I have learned a lot about back-end profiling with your channel. But I've been able to find little when it comes to using mapstruct when you have relationships between entities. It would be appreciated if one day you enlighten us on that path Thank you so much Nelson!!
@rtee2344
@rtee2344 Жыл бұрын
Just started a role as a JAVA developer and this video just makes JAVA DTO pattern so simple. Thanks for the great content
@BogdanSava
@BogdanSava Жыл бұрын
Hi Nelson! I must say that you really made a nice and easy understandable walkthrough the DTO pattern. Looking forward to seeing your full course.
@tredy745
@tredy745 Жыл бұрын
Hi Nelson, I must say you the best tutor of all time. Can't afford to miss any of your videos. Your videos are so educative and the best. Thank you.
@BlockCylinder
@BlockCylinder 11 ай бұрын
30 hours is a massive video course but it's a tiny span of time compared to a degree program or even a boot camp. You're offering tremendous value, sir.
@NyihaNgotho
@NyihaNgotho Жыл бұрын
You have no idea how your videos have helped me since my company decided to go full-on with Java dev! Thank you so much!
@sapnasharma-vo3nv
@sapnasharma-vo3nv Жыл бұрын
Hi Nelson, Most of courses just have hello world or simple programs but here you always explain the things with real world practicals. Using your teaching someone can develop profession application.
@rashadshah9305
@rashadshah9305 Жыл бұрын
I don't know where I would be without your tutorials nelson!
@ktech1440
@ktech1440 Жыл бұрын
Wow, thank you Nelson this is really awesome, I was actually struggling to refactor some of my codes to this pattern and I just saw this now. I must admit I'm super excited to have this.
@buckyrobert6570
@buckyrobert6570 Жыл бұрын
"Great tutorial Nelson! Your clear and concise explanations made it easy to understand the concept of the DTO pattern in Java. The examples you provided were also very helpful in illustrating how to implement the pattern in a real-world scenario. Keep up the great work, can't wait to see more Java tutorials from AmigosCode!"
@elhouarizohier3824
@elhouarizohier3824 Жыл бұрын
You are exactly what aspiring developers need. Thank you for making such awesome and practical videos.
@shintusebastian44
@shintusebastian44 Жыл бұрын
The guy who teaches lots of information in a short span of time. 🙌
@iscovision
@iscovision Жыл бұрын
Looking forward to that 30 hour long course. Great content as always !
@joomartordobaev7073
@joomartordobaev7073 Жыл бұрын
+++
@fssene1462
@fssene1462 Жыл бұрын
you always read my mind. When I struggle anywhere you show me a explanation. Thanks a lot !
@umaribrahim33
@umaribrahim33 Жыл бұрын
I like the way your courses are straight forward and easy to comprehend and assimilate.
@hidetora_237
@hidetora_237 Жыл бұрын
This is an excellent tutorial on the DTO pattern - thank you for taking the time to explain it!
@alexmazureac8312
@alexmazureac8312 Жыл бұрын
Thanks dude, really nice tutorials, when I entered in an internship program as java dev, team lead gave me some of your tutorials to watch :) now i have 1 year of experience
@ilichbetancourtrangel41
@ilichbetancourtrangel41 Жыл бұрын
By far the best online teacher out there! Today i am working as Backend dev, part of my knowledge is thanks to AMIGOS CODE! so Thank you for share!
@ms-pf9ow
@ms-pf9ow Жыл бұрын
Love your teaching approach, clear, concise and educational. Thanks Nelson
@mustafaercan686
@mustafaercan686 Жыл бұрын
Keep with these amazing contents Nelson, I'm looking forward to the full stack course.
@rodvicj9896
@rodvicj9896 Жыл бұрын
I have not yet learn java but if a job might require it, your java videos will be my priority. Really liked your refactor videos, thanks for quality contents!
@_wizard123
@_wizard123 Жыл бұрын
Nelson you're a genius can wait to get this course bro thanks a million. We learn a lot from you
@rxphi5382
@rxphi5382 Жыл бұрын
Wow I'm relatively new to Java and it's just amazing to be able to follow this video while still picking up do many new things that i didn't even know existed, for example what a record is or that you can customize your test bar to display🌈 instead of green🤣 Love it, great video!
@tixix9970
@tixix9970 Жыл бұрын
Thanks Nelson. Been watching your vids since a while and learned a ton from them. Keep up the great works !
@__idan__
@__idan__ Жыл бұрын
There's also DAO (Data Access Object) for communication with a database or such, but keep in mind both can be treated as Design Patterns, accepted designs to solve common problems, they are not needed for every application, but you should know them for a Backend job, especially in Java.
@raydan6702
@raydan6702 Жыл бұрын
I love your teachings. Everything is always explained clearly.
@dadaboymasharipov2653
@dadaboymasharipov2653 Жыл бұрын
Your lessons are so much useful and you explain everything with real life example.
@Conflictzor
@Conflictzor Жыл бұрын
I never thought I would be so excited about a giveaway in my life 😂
@kevinkipkemei6757
@kevinkipkemei6757 Жыл бұрын
Hi Nelson have always loved to see what comes next. Keep doing what you do. Great blessing to developers
@Devivl
@Devivl 4 ай бұрын
Mate, so glad I found your channel. It's just amazing. You are so good at explaining complicated things in simple words that many teachers would envy you. I am so glad that there are such competent educated people who share their expertise with other people. You are good. You will be rewarded for everything.
@codertravel99
@codertravel99 Жыл бұрын
Thankyou Nelson for creating this awesome course. I'm following you from my 3rd year of college so love your content ❤️❤️
@jatindersinghaujla
@jatindersinghaujla Жыл бұрын
I have watching your videos from long back I learn so many things how to write clean code, recently watches video on adding primitive and then storing in wrapper class and how much performance difference is there I can see and I have learnt so many things from it. Thanks for informative videos.
@codedna7670
@codedna7670 Жыл бұрын
The DTO pattern is properly explained, thanks Nelson
@rogercardona4160
@rogercardona4160 Жыл бұрын
Hey amazing content as always, I look forward to get the course where you will build the entire application!
@auduigbekele7804
@auduigbekele7804 Жыл бұрын
Well done boss!! You are my spring boot breakthrough point! Thanks sir for your guidance!
@PhilGregson
@PhilGregson Жыл бұрын
Hi Nelson, Found myself made redundant after over 20 years. Found your course extremely useful to upgrade my skillset. Thanks
@roshnray6566
@roshnray6566 11 ай бұрын
Hi Phil , can you share course link in comment
@ramadaniotfi3537
@ramadaniotfi3537 Жыл бұрын
the best for ever ,i'm happy to be my instructor.and i hope you all success,thanks for every momemnt i learn it from you.
@KayJayB33
@KayJayB33 Жыл бұрын
Really nice video and I'm thinking about purchasing your fullstack course - but I think it would be better to get known some design patterns and basic principles before and then continue to learn. Thanks for pretty nice work!
@saerargh
@saerargh Жыл бұрын
Love your videos, you make Spring Boot easy and fun!
@jonmakudesu
@jonmakudesu Жыл бұрын
Wonderful! Thanks for the Java DTO tutorial, Nelson.
@orafasistemas
@orafasistemas Жыл бұрын
Hi Nelson..... first at all, thank you for your very high quality videos: the way you explain is quite nice, fluent and clear. Thanks!
@tolulopeayemobola1446
@tolulopeayemobola1446 Жыл бұрын
Ready to go! Professional here I come. Thank you Nelson
@gavinspear5406
@gavinspear5406 Жыл бұрын
Cant believe this came out today. Was looking for a good video on this
@guilhermesoper
@guilhermesoper Жыл бұрын
Hi Nelson, congratulations for the great channel. Keep doing this high quality content that you have been sharing.
@thomydiaz4333
@thomydiaz4333 Жыл бұрын
I really like the way you explain good practices in Java, would like to see more!
@dariofulci6549
@dariofulci6549 Жыл бұрын
Hello Nelson Thank you for the amazing courses. Can't wait for the next one. Best wishes
@cheebengkoh8208
@cheebengkoh8208 Жыл бұрын
I have been following you for the courses that you freely shared which is great for the developer community.. thank you!
@unbe1iev
@unbe1iev Жыл бұрын
There's really so much to learn from you. 🏆Thank you that you are! ❤✨
@jonathan_luz
@jonathan_luz Жыл бұрын
Best channel for DEVs!
@srhnd-pa
@srhnd-pa Жыл бұрын
Hi Nelson! As always thank you for your quality video ! I'm looking forward for that Full Stack Professional course !🤯
@RuslanZinovyev
@RuslanZinovyev Жыл бұрын
Great work Nelson, keep it up. Look forward to your upcoming course.
@AmitTiwary07
@AmitTiwary07 Жыл бұрын
Hi Nelson, This is Amit from Mumbai, India. Always been a big fan. This vid is just top notch as always. Cheers.
@olanrewajusaka3991
@olanrewajusaka3991 Жыл бұрын
Legend Can't wait for this course.. Bring it on Bro
@josephjoey3904
@josephjoey3904 Жыл бұрын
This new course seems like fun. Thanks Nelson
@curtain300
@curtain300 Жыл бұрын
As always ,easy to catch with your explanation.
@egovictorc
@egovictorc Жыл бұрын
Hi Nelson! I love the way you break down concepts
@lawalolakunle4987
@lawalolakunle4987 Жыл бұрын
Thank you so much Nelson for always giving this beautiful lessons
@aboubakarfaouzi
@aboubakarfaouzi Жыл бұрын
As salaamou aleykoum brother, I really like the way you teach complex stuff an just make it seem easy. Djazaakallah for all May Allah reward you. Keep the great work
@rizkyabduljabar4573
@rizkyabduljabar4573 Жыл бұрын
Assalamu'alaikum Wr. Wb. Hi, Nelson, your channel it's very educational. I got a lot of new knowledge from you. I'm started exploring backend engineering because your video really inspired me and the way you explained some of the learning materials was very very easy to understand. Thank you so much.
@fusing17
@fusing17 Жыл бұрын
Hi Nelson, amazing and useful content as always!
@tomasdelizia3695
@tomasdelizia3695 Жыл бұрын
Thanks for the video Nelson. Keep up the great work!
@younes6713
@younes6713 Жыл бұрын
Your vids made me love java and programming in general. Thank you!
@fipabrate
@fipabrate Жыл бұрын
Watching from Bosnia and Herzegovina. Love your videos.
@MattiaCaravita
@MattiaCaravita Жыл бұрын
Great Nelson, i follow you from 3 years!
@programinhas
@programinhas 7 ай бұрын
Great videos man. I have a java channel in Brazil. You are an inspiration to me.
@user-lu3hg2ml2v
@user-lu3hg2ml2v Жыл бұрын
As always, ty for new video :)
@mahdihadiji5372
@mahdihadiji5372 Жыл бұрын
Great course. Keep up with the great content
@Sasikumar-kr7xy
@Sasikumar-kr7xy Жыл бұрын
Excited for the new course
@kepaja002
@kepaja002 Жыл бұрын
Your stuff is amazing and detailed. Love your content
@catalindobos743
@catalindobos743 Жыл бұрын
Your channel is a goldmine!
@gronk1
@gronk1 Жыл бұрын
That's what I'm waiting for 👍👍
@Oskar-co1jw
@Oskar-co1jw Жыл бұрын
You're incredibly awesome! Thank you so much for everything you do 🤠
@chrisdany3835
@chrisdany3835 Жыл бұрын
Best Video Ever on DTO
@BioDetermination
@BioDetermination Жыл бұрын
In my job, I use that pattern together with Bean Validators and If maybe with Spring HATEOAS if I need to add links to locate a resource belonging to a field. Of course, I have to use annotations of springdoc for OpenAPI specification, to manually test my endpoints with Swagger UI and deliver such specification as technical documentation including QAs.
@urosjovanovic1864
@urosjovanovic1864 Жыл бұрын
Great content as always! Thank tou!
@Bomblowo
@Bomblowo Жыл бұрын
Hi Nelson, again great job. Bought already microservices curse and I'm really happy with that.
@Kuena866
@Kuena866 Жыл бұрын
Hi Nelson, this video here reminded me that I still need to wrap up Fullstack Springboot & React (Professional Course) so that I am ready for the upcoming course. Every time I am settling with the MERN stack you release amazing content that reminds me how beautiful Java is ...... Tashabuk alsalama
@Shift2gear
@Shift2gear Жыл бұрын
Is this number your real number because I have Series of questions and some clarification 🙏
@zimcoder
@zimcoder Жыл бұрын
I can't wait for this course.
@tcheuffayvan6422
@tcheuffayvan6422 Жыл бұрын
Great content as always 🙂, thanks Nelson.
@omaradrian80
@omaradrian80 Жыл бұрын
Great video as always!!
@serignendiaye
@serignendiaye Жыл бұрын
Thank you Nelson always very useful
@RonyTheRhombus.
@RonyTheRhombus. Жыл бұрын
Super helpful as always, thanks!
@fipabrate
@fipabrate Жыл бұрын
I like creating mapper class for every entity. So in this example create class CustomerMapper which has mapping method like toResponse, fromRequest, etc. Also, I personality use ModelMapper instead of MapStruct.
@sc-nt4gr
@sc-nt4gr Жыл бұрын
Love your videos! Thanks :)
@aloarizamadrigal7387
@aloarizamadrigal7387 Жыл бұрын
Great video as always! Thanks
@samueladekunle
@samueladekunle Жыл бұрын
Great content as always!
@csabavadasz2239
@csabavadasz2239 Жыл бұрын
Your video is really useful, as usual!
@BlvkIsMyVibe
@BlvkIsMyVibe Жыл бұрын
Another great video. Thank you!
@mrshahcloud
@mrshahcloud Жыл бұрын
Awesome as always bro. Thanks.
@TomaAndreiMusic
@TomaAndreiMusic Жыл бұрын
awesome content
@alexbpl
@alexbpl Жыл бұрын
great job as always
@thiagofortunato4821
@thiagofortunato4821 Жыл бұрын
thank you for the content Nelson!!!
@pierrelebon6627
@pierrelebon6627 Жыл бұрын
Great job as usuel, thanks you for such a good content
@naiominaidoo
@naiominaidoo Жыл бұрын
Really enjoying watching your video tutorials especially with the new versions of Springboot 3 and Spring Framework 6. Keep sharing!
@softcoda
@softcoda Жыл бұрын
Awesome....your tutorials are really good
@todorbogdan8553
@todorbogdan8553 Жыл бұрын
Wow, awesome video! Thank you :)
Learn Java in One Video - 15-minute Crash Course
14:54
Coding with John
Рет қаралды 654 М.
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 5 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 16 МЛН
Learn Dependency Injection and Write Better Code
21:52
Amigoscode
Рет қаралды 167 М.
Андрей Беляев - DTO: живи быстро, гори ярко
56:20
JPoint, Joker и JUG ru
Рет қаралды 17 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 368 М.
10 Spring and Spring Boot Common Mistakes You Need To STOP
15:49
Amigoscode
Рет қаралды 141 М.
10 Most Common Java Developer Mistakes
16:13
Amigoscode
Рет қаралды 102 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 195 М.
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 27 МЛН
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 9 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,2 МЛН
iOS 18 vs Samsung, Xiaomi,Tecno, Android
0:54
AndroHack
Рет қаралды 93 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 223 М.