Mapstruct in Spring boot for Java bean mapper | Implementation with Live Demo | Code Decode

  Рет қаралды 21,111

Code Decode

Code Decode

Күн бұрын

In this video of code decode we have explained mapstruct in spring boot along with the implementation
Udemy Course of Code Decode on Microservice k8s AWS CICD link:
openinapp.co/u...
Course Description Video :
yt.openinapp.c...
MapStruct is a Java-based code generation tool used in Spring Boot and other Java applications to simplify the mapping between Java bean types. It helps in reducing the boilerplate code that developers typically write when converting one type of object to another. In the context of Spring Boot, you can use MapStruct to map DTOs (Data Transfer Objects) to entities or vice versa, which is a common requirement when building RESTful APIs or web applications.
MapStruct is a Java-based code generation tool commonly used in Spring Boot applications to simplify and automate the mapping of data between different Java bean types, such as DTOs (Data Transfer Objects) and entities.
Most Asked Core Java Interview Questions and Answers: • Core Java frequently a...
Advance Java Interview Questions and Answers: • Advance Java Interview...
Java 8 Interview Questions and Answers: • Java 8 Interview Quest...
Hibernate Interview Questions and Answers:
• Hibernate Interview Qu...
Spring Boot Interview Questions and Answers:
• Advance Java Interview...
Angular Playlist: • Angular Course Introdu...
SQL Playlist: • SQL Interview Question...
GIT: • GIT
Subscriber and Follow Code Decode
Subscriber Code Decode: www.youtube.co...
LinkedIn : / codedecodeyoutube
Instagram: / codedecode25
#codedecode #mapstruct #springboot

Пікірлер: 49
@Asingh42
@Asingh42 8 ай бұрын
Top notch content for java/Spring Boot Please continue making more informational videos on the topic and some advanced topics related to this
@CodeDecode
@CodeDecode 8 ай бұрын
Sure
@Asingh42
@Asingh42 8 ай бұрын
@@CodeDecode Ps: Do you provide career counseling session. I really need some genuine guidance.
@sayanbiswas8847
@sayanbiswas8847 Жыл бұрын
Top content. Want more such high level and complex topics. Great work team!
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Sayan. 😊
@swapnilwakale4173
@swapnilwakale4173 4 ай бұрын
Wow... I was using mapstructas since my starting of careers and not aware about that😂😂😂
@CodeDecode
@CodeDecode 4 ай бұрын
😊😊
@akware977
@akware977 Жыл бұрын
I am fan of this channel however i have one suggestion please take it in positive way. Considering demo of mapstruct video can be focused considering consumption of Any service or pull data from DB. We have to wait till 34 min of this video to touch mapstruct.
@CodeDecode
@CodeDecode Жыл бұрын
Truly said 👍 Thanks for bringing it to our attention. We can do one thing, we can add time stamp in comments and description as when mapstruct starts
@GuruKeerthana
@GuruKeerthana 8 ай бұрын
Hi, I'm egarly asking about the CMS explanation that was introduced in Java 8, as well as the jpa interview questions for two years of experience. Thank you for providing all of these videos; they are really easy to understand.
@akash89ful
@akash89ful 8 ай бұрын
Beautiful video !!
@CodeDecode
@CodeDecode 8 ай бұрын
Thanks Akash 👍
@rahulvijay1781
@rahulvijay1781 Жыл бұрын
These mapstruct and model mapper is only used for local purpose :( its not recommended for production because its not recognized by spring framework also you can check their website which shows not secure and also there will be possibility of security breach
@mle3638
@mle3638 7 ай бұрын
Where did you find this information? Could you please share the link? Thanks!
@rahulvijay1781
@rahulvijay1781 7 ай бұрын
@@mle3638 you just go to their official website and see the http logo...it says not secure
@jrdillip
@jrdillip Жыл бұрын
ModelMapper and BeanUtils implementation are easy than this mapstruct. Could you please cover these two in another video
@CodeDecode
@CodeDecode Жыл бұрын
Performance wise map struct surpasses all. Thus in enterprise level project with a good revival architect, always mapstruct you will find implemented👍 Always try to write proformance optimistized code Dillip 👍👍
@jrdillip
@jrdillip Жыл бұрын
@@CodeDecode Thank You for your valuable feedback 👏👏
@CodeDecode
@CodeDecode Жыл бұрын
No problem. It's appreciable that you put your points and suggestions. That's how we all learn 😊😊👍 great going Dillip. Keep learning keep shining Man 🌟🌟
@jrdillip
@jrdillip Жыл бұрын
@@CodeDecode Thank you so much Mam for the kind words 😊. Really learnt a lot from your videos. All the contents are outstanding
@CodeDecode
@CodeDecode 11 ай бұрын
Glad to have you in our community Dillip 😊
@sanketh768
@sanketh768 Жыл бұрын
There is model mapper and object mapper which also does same work
@CodeDecode
@CodeDecode Жыл бұрын
Correct Sanketh. There are many solutions to solve same problem
@sanketh768
@sanketh768 Жыл бұрын
​@@CodeDecode great thanks for confirming
@kudumulasivaramakrishnared6379
@kudumulasivaramakrishnared6379 Жыл бұрын
Please do videos on data structures
@RakeshKumar-en1uq
@RakeshKumar-en1uq 11 ай бұрын
Ma'am try to cover a some bootcamp for microservices series
@CodeDecode
@CodeDecode 11 ай бұрын
Hi Rakesh we have created an end to end course for microservice docker k8s AWS and CICD please check that out on Udemy
@hassan-usman
@hassan-usman Жыл бұрын
Thanks Ma'am
@CodeDecode
@CodeDecode Жыл бұрын
😊😊
@ajithkm8746
@ajithkm8746 Жыл бұрын
Could you please cover OpenApi specifications with server stub code generation ?
@CodeDecode
@CodeDecode Жыл бұрын
Sure Ajith. Seems it's project specific
@Suresh-x5b5l
@Suresh-x5b5l 8 ай бұрын
i have a question . if from frontend one object and some field is comming . but i want to map that object with a field ( i want to map object primary key with my field ( as Long) )
@CodeDecode
@CodeDecode 8 ай бұрын
You can use "Target" attribute . And also u can do type caste with instance of condition check
@Suresh-x5b5l
@Suresh-x5b5l 8 ай бұрын
@@CodeDecode could you make a video ralated this
@akashsaha9366
@akashsaha9366 Жыл бұрын
Great, now I have understood a code of 3 years ago. 😂 Please continue.
@CodeDecode
@CodeDecode Жыл бұрын
Glad to hear that Akash 👍😊
@rishiraj2548
@rishiraj2548 9 ай бұрын
Thanks
@CodeDecode
@CodeDecode 9 ай бұрын
😊
@amarthyaseshu683
@amarthyaseshu683 11 ай бұрын
Actual video starts at 33:40 😂
@CodeDecode
@CodeDecode 11 ай бұрын
True but Map struct has to be implemented in spring boot app. Hence did the setup first 😊 Should we trim that part in video?
@amarthyaseshu683
@amarthyaseshu683 11 ай бұрын
@@CodeDecode yes make as short only that part
@vikashkumar-gv1dp
@vikashkumar-gv1dp Жыл бұрын
I just bought this course but money deducted and course not added in my account Can you help me?
@CodeDecode
@CodeDecode Жыл бұрын
Hi Vikas Could you please connect to the udemy support team. Or you can visit below link for further payment related clarification support.udemy.com/hc/en-us/articles/229604828-Troubleshooting-Payment-Failures
@vikashkumar-gv1dp
@vikashkumar-gv1dp Жыл бұрын
Thanks For reply Now my issue is resolved. And I am watching the course It is very Interesting and easy to understand thanks for launching this course Ma`am@@CodeDecode
@CodeDecode
@CodeDecode Жыл бұрын
Thanks Vikash . We are open for suggestions. Kindly provide your valuable feedback as reviews and let us know if we are lacking in any thing
@rohitn6333
@rohitn6333 5 ай бұрын
great explanation mam, helped me a lot thank you
@CodeDecode
@CodeDecode 5 ай бұрын
Thanks
@ashishsahu1310
@ashishsahu1310 11 ай бұрын
nice content. thanks for sharing.
@CodeDecode
@CodeDecode 11 ай бұрын
you're welcome
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 69 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,8 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 8 МЛН
#7 Mapstruct Entity to DTO
7:39
Follow the white rabbit
Рет қаралды 26 М.
Handle 1,000,000 Threads with Java and Spring Boot !!!
21:50
Daily Code Buffer
Рет қаралды 25 М.
Learn Dependency Injection and Write Better Code
21:52
Amigoscode
Рет қаралды 173 М.
Java spring boot 3 tutorial: Using Lombok and Mapstruct
39:40
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 69 МЛН