Learn how Spring Boot Model Mapper works Fast and Simple

preview_player
Показать описание
Spring Boot allows you to create Entities that reflect your business model and database, external to your service logic you should not expose those unique properties. In the case of transferring information out to an API for example you should map the contents to a DTO (Data Transfer Object) that may not be exactly what your business entity shape looks like. For example elements like passwords should be excluded and computed properties may not be part of your entities but can be part of your DTO objects.

Learn how to use Mappers in Spring Boot and isolate and add a loosely coupled interfaces that does not break as code changes.

I want to help you learn and find an Amazing Job or just increase your Skills.

#Java #SpringBoot #software
Рекомендации по теме
Комментарии
Автор

It’s amazing how easly you create these tutorials and I’m really enjoying and helping me out a lot. Please keep creating more videos like this.

edsonjr.
Автор

Thanks so much for the great explanation! Greetings from Paraguay, South America

moisesvillalba
Автор

Great video, would love to see more materials on Spring. Personally using mapstruct mapper, quite easy to use and seems to have less boilerplate code. Thank you for this video

johndoedoejohn
Автор

Is the reason you created the mapperconfig(modelmapper) to do it as a singleton?

카라멜땅콩-pp
Автор

Omg, why do not you use record UserDto, bro?

duongphuba
Автор

some advice: I have to spend 18/20 minutes to watch you typing all basic spring stuff, and only 2 minutes to talk about modelmapper, which is also very basic.. I'd rather see you go deeper with this library and instead of watching your typing, just put those controller, service files there already and explain them instead..

alexhu
Автор

Converter between User and UserDTO should do Controller layer, not Service layer :)

mit-zwiebel
Автор

That's work just great. Thank you! Im wondering if you can go deep inside modelMapper and do relationships like @OneToMany, @ManyToMany. Im having some errors using model mapper with relationships. :(

cesarbranco