JAVA DTO Pattern Tutorial | Simplify Your Code

  Рет қаралды 205,700

Amigoscode

Amigoscode

Күн бұрын

Пікірлер: 507
@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 Жыл бұрын
بارك الله فيك وفيما تفعل ونفع بك
@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 3 ай бұрын
Not really A lot of the video is just watching him code..
@StarRoseAngelic
@StarRoseAngelic Жыл бұрын
Thank you. Your videos are the only thing getting me through my current project. If you have any experience with Thymeleaf please feel free to share videos on that topic.
@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
@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.
@rob_hussy
@rob_hussy Жыл бұрын
Hi Nelson, you tutorials are something else … straight to the point, top notch knowledge, and always fun to watch. Keep up the great work, you’re helping a lot of engineers out there !
@shintusebastian44
@shintusebastian44 Жыл бұрын
The guy who teaches lots of information in a short span of time. 🙌
@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!!
@naiominaidoo
@naiominaidoo Жыл бұрын
Really enjoying watching your video tutorials especially with the new versions of Springboot 3 and Spring Framework 6. Keep sharing!
@DiliwaysSystems
@DiliwaysSystems Жыл бұрын
Thank you for your tutorials bro, my java skills improved in a very impressive way after I discovered this channel. Keep up the good work
@fssene1462
@fssene1462 Жыл бұрын
you always read my mind. When I struggle anywhere you show me a explanation. Thanks a lot !
@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.
@iscovision
@iscovision Жыл бұрын
Looking forward to that 30 hour long course. Great content as always !
@joomartordobaev7073
@joomartordobaev7073 Жыл бұрын
+++
@AmitTiwary07
@AmitTiwary07 Жыл бұрын
Hi Nelson, This is Amit from Mumbai, India. Always been a big fan. This vid is just top notch as always. Cheers.
@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.
@cheebengkoh8208
@cheebengkoh8208 Жыл бұрын
I have been following you for the courses that you freely shared which is great for the developer community.. thank you!
@stevolupdates9601
@stevolupdates9601 Жыл бұрын
The look-ahead is super sweet
@anime_fight_horder8882
@anime_fight_horder8882 Жыл бұрын
Beginner here learnt spring boot from you 🙏
@nenadarbutina8144
@nenadarbutina8144 Жыл бұрын
Hello. Been watching you for a while now. Learned a lot from you
@dmitrys7170
@dmitrys7170 Жыл бұрын
Hello! And why a Component mapper? Why not a utility class for example?
@unbe1iev
@unbe1iev Жыл бұрын
There's really so much to learn from you. 🏆Thank you that you are! ❤✨
@mdnisar5998
@mdnisar5998 Жыл бұрын
Now I understood DTO. Thanks to Nelson 😌
@cdev9116
@cdev9116 Жыл бұрын
What's the difference between this and the @JsonIgnore annotation?
@gavinspear5406
@gavinspear5406 Жыл бұрын
Cant believe this came out today. Was looking for a good video on this
@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.
@elhouarizohier3824
@elhouarizohier3824 Жыл бұрын
You are exactly what aspiring developers need. Thank you for making such awesome and practical videos.
@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 Жыл бұрын
是的朋友,说的很对
@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!
@anoozg9565
@anoozg9565 3 ай бұрын
Awesome video. Crisp, to the point and still covered all the details. Thanks sir for great content.
@ricardoaguero3454
@ricardoaguero3454 Жыл бұрын
Hi Nelson, the way you teach is so easy for me, really clear
@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
@fahmipamungkas1989
@fahmipamungkas1989 Жыл бұрын
I also use dto pattern in my job, but this much easier than i usualy do. Very nice. 👍👍
@ifeanyiwisdom4003
@ifeanyiwisdom4003 Жыл бұрын
You always make tutorials that are just the best. looking forward for the giveaway
@krishnakondaveeti51
@krishnakondaveeti51 Жыл бұрын
Your way of explanation really superb
@ms-pf9ow
@ms-pf9ow Жыл бұрын
Love your teaching approach, clear, concise and educational. Thanks Nelson
@programinhas
@programinhas 10 ай бұрын
Great videos man. I have a java channel in Brazil. You are an inspiration to me.
@dadaboymasharipov2653
@dadaboymasharipov2653 Жыл бұрын
Your lessons are so much useful and you explain everything with real life example.
@mustafaercan686
@mustafaercan686 Жыл бұрын
Keep with these amazing contents Nelson, I'm looking forward to the full stack course.
@josephjoey3904
@josephjoey3904 Жыл бұрын
This new course seems like fun. Thanks Nelson
@Robert-jt9yg
@Robert-jt9yg 2 ай бұрын
Hello, thank you for a great tutorial! I have one question, why is it that the customerDTOMapper shouldn't be mocked as well? Cheers
@guilhermesoper
@guilhermesoper Жыл бұрын
Hi Nelson, congratulations for the great channel. Keep doing this high quality content that you have been sharing.
@Marcin1993PL
@Marcin1993PL Жыл бұрын
Great video. You knowlege is huge. and your spekaing make me more motivated
@pawanadhane1160
@pawanadhane1160 11 ай бұрын
Hi Nelson... thanks for the detailed mapping and explanation.
@yacinehoubi5215
@yacinehoubi5215 Жыл бұрын
Assallamou allaykoum Nelson, Thank you for all the content you provide for the community, really appreciate thank you and good luck
@jagadeeps3095
@jagadeeps3095 Жыл бұрын
I am a beginner for coding and i am unemployed now if i get that ide's as giveaway it will be a very very huge help for me
@chrisdany3835
@chrisdany3835 Жыл бұрын
Best Video Ever on DTO
@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!"
@mishaqawan
@mishaqawan Жыл бұрын
Hi brother, thanx for your efforts, I love they way you explain + your voice ☺️
@tomasdelizia3695
@tomasdelizia3695 Жыл бұрын
Thanks for the video Nelson. Keep up the great work!
@Blazej_Kar
@Blazej_Kar Жыл бұрын
Wonderful content. Appreciate your work! Very useful for improving as Java Developer
@mouhamedamineelabed3958
@mouhamedamineelabed3958 Жыл бұрын
Love your teaching approach , great job Nelson thanks
@dominicencho4179
@dominicencho4179 Жыл бұрын
I am eagerly waiting for the new course release!
@gergelymolnar77
@gergelymolnar77 Жыл бұрын
Great courses, well explained even for non native speakers. Thx!
@lawalolakunle4987
@lawalolakunle4987 Жыл бұрын
Thank you so much Nelson for always giving this beautiful lessons
@mundonerd5042
@mundonerd5042 5 ай бұрын
Hello, as a good practice I would like to know where should I carry out the conversion of data and entities, in the controller or service?
Жыл бұрын
Usually I just implement a toDTO function in the Entity class, no need for extra Mapper service.
@tilakksahuu
@tilakksahuu Жыл бұрын
Great content ❤ but the way your DTO is formatted gave me anxiety 😂. I prefer annotations in a single line only 😅
@olanrewajusaka3991
@olanrewajusaka3991 Жыл бұрын
Legend Can't wait for this course.. Bring it on Bro
@srhnd-pa
@srhnd-pa Жыл бұрын
Hi Nelson! As always thank you for your quality video ! I'm looking forward for that Full Stack Professional course !🤯
@kepaja002
@kepaja002 Жыл бұрын
Your stuff is amazing and detailed. Love your content
@mrowox
@mrowox Жыл бұрын
Nice video Nelson. I can't wait for the full course. Please do let us know when it drops
@rajasMusicalJourney
@rajasMusicalJourney 9 ай бұрын
Hey you are teaching beautifully. I have subscribed
@dharmawangsa9592
@dharmawangsa9592 Жыл бұрын
where and when the full stack course using spring boot react will released ? , I desperately need that course from you
@АлександрСиницын-р1у
@АлександрСиницын-р1у 7 ай бұрын
Hello Nelson. Thank you for the video! Why did you marked mapper class as component (Service)? Can we use just class with the static method instead?
@phoitran6181
@phoitran6181 Жыл бұрын
Thanks a lot. This is a good way to improve mysef everyday.
@gronk1
@gronk1 Жыл бұрын
That's what I'm waiting for 👍👍
@feezankhattak1573
@feezankhattak1573 Жыл бұрын
great explanation. also please consider Kubernetes in your 30 hours course.
@omaradrian80
@omaradrian80 Жыл бұрын
Great video as always!!
@matheusnico1as
@matheusnico1as Жыл бұрын
Just a question, what is the difference between DTO and VO? I tried to read about the differences, although looks like the same
@Oskar-co1jw
@Oskar-co1jw Жыл бұрын
You're incredibly awesome! Thank you so much for everything you do 🤠
@konstantin7175
@konstantin7175 Жыл бұрын
Great tutorial, thank you!
@diepphilippe
@diepphilippe Жыл бұрын
Thanks for the giveaway and the explanation!
@leonardoafonso4628
@leonardoafonso4628 Жыл бұрын
Hey Nelson, great video, but what do you think about packages that simplify the mapping of objects like MapStruct? it is valid to use it?
@sergeigavrilov7937
@sergeigavrilov7937 Жыл бұрын
your videos are brilliant!
@GozeLove
@GozeLove Жыл бұрын
Hi, if i read it right you put the dto conversion to domain models into the service layer. Why is that, i always thought it belongs in the controller
@shanulhuda2277
@shanulhuda2277 Жыл бұрын
Hi Nelson, can you make a series on system design as well.
@lowabstractionlevel3910
@lowabstractionlevel3910 9 ай бұрын
Fantastic stuff! I wonder, does it still make sense to use java records in my project if I'm already using Lombok? (I am using Lombok because JPA does not allow the use of records as entities, so maybe I can use it for DTOs as well)
@trinaharris9915
@trinaharris9915 Жыл бұрын
This is good; Thank you Nelson!!!
@onoriode-afunezieonos4855
@onoriode-afunezieonos4855 Жыл бұрын
Hi I like your videos They have help me a lot I'm trying to migrate from .Net to spring boot and your videos have helped a lot Can you do a video on how to integrate swagger for api documentation
@marcosfsjunior
@marcosfsjunior Жыл бұрын
Any reason why you map manually each field and not using @Mapping annotation?
@rogercardona4160
@rogercardona4160 Жыл бұрын
Hey amazing content as always, I look forward to get the course where you will build the entire application!
@michaelroyf4766
@michaelroyf4766 Жыл бұрын
when will the new course be released and how much will it cost?
@aentr
@aentr Жыл бұрын
Hi Nelson, why should the DTO be as simple as possible? Doing a Lombok enhanced POJO or using the new record calls for a constant refactoring need as soon as you have to transfer other fields. Regarding the Open/Closed principle, that proposed DTO design is surely open for extension and can be supplemented with additional fields by inheritance. Or you simply add another DTO answering your accrued needs. However, either way you end up with a lot of classes. Besides, in older environments you may even not be able to see the exact parameter requirements of your DTO's constructor. Therefore imho using the Builder pattern with as many as foreseeable fields as DTO may be a better solution. What do you think? Could you please explain the reason you see a necessity in keeping DTOs devoid of any logic?
@camaradame1355
@camaradame1355 Жыл бұрын
Always interesting content.thanks for all.
@petroniobonavides3530
@petroniobonavides3530 Жыл бұрын
Why do you use mocks/mockito, if nowadays we already have testcontainers?
@i_likekapil
@i_likekapil Жыл бұрын
Hi Nelson, Your videos are super excited , I learned alot Please provide some videos on Angular
@phanijallipalli
@phanijallipalli Жыл бұрын
good content from start to end
@ВладиславФисоченко-ц7ц
@ВладиславФисоченко-ц7ц Жыл бұрын
Great course! Looking forward to buy it!
@8purpose867
@8purpose867 Жыл бұрын
Hi Nelson, Thanks for the update will see if i can apply this.
@demian.p
@demian.p Жыл бұрын
Thanks for an explanation with good example
@VhuthuPhuthu
@VhuthuPhuthu 10 ай бұрын
Is this necessary if one is just using json ignore for those fields?
@ERIC70378
@ERIC70378 Жыл бұрын
Hi Nelson, it is useful for me. thanks!
@alexandersepulveda5020
@alexandersepulveda5020 Жыл бұрын
is the new full stack course available for enroll? if so, please share the link
@fusing17
@fusing17 Жыл бұрын
Hi Nelson, amazing and useful content as always!
@sushantgulve4935
@sushantgulve4935 Жыл бұрын
Really Helpful content. Waiting for the courses to be out! 🙂
@ananiamesfin1488
@ananiamesfin1488 Жыл бұрын
Hello, Migos everytime you post a video am on the top ten of your viewers list, i hope you would consider me in the giveaway.
@chanchhaya
@chanchhaya Жыл бұрын
Thank you for great explaination
@mohamedelmouden-fh2he
@mohamedelmouden-fh2he Жыл бұрын
great tutorial , thanks !
@StefanBanu
@StefanBanu Жыл бұрын
Well explained. Thank you
@zzronc
@zzronc Жыл бұрын
Where can I take the 30 hour course? Thank you!
10 Most Common Java Developer Mistakes
16:13
Amigoscode
Рет қаралды 107 М.
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 70 МЛН
Остановили аттракцион из-за дочки!
00:42
Victoria Portfolio
Рет қаралды 3,7 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 32 МЛН
The Flaws of Inheritance
10:01
CodeAesthetic
Рет қаралды 945 М.
the right way to organise your code
17:33
Amigoscode
Рет қаралды 198 М.
Laravel vs Rails for Javascript developers
19:50
Sam Lewis
Рет қаралды 2,5 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 391 М.
New Java Version 22 - The 3 Best New Features You'll ACTUALLY Use
13:15
Coding with John
Рет қаралды 110 М.
Андрей Беляев - DTO: живи быстро, гори ярко
56:20
JPoint, Joker и JUG ru
Рет қаралды 18 М.
10 Spring and Spring Boot Common Mistakes You Need To STOP
15:49
Amigoscode
Рет қаралды 151 М.
5 Rules For DTOs
17:56
Ardalis
Рет қаралды 42 М.
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 70 МЛН