Using Mapping Libraries to Map Entity to DTO and Vice Versa | MapStruct Library

Поделиться
HTML-код
  • Опубликовано: 24 июн 2024
  • In this session, we had a discussion about how to convert entity to dto's and viceversa using MapStruct library for this following are the development steps
    1.add maven dependency and plugin in pom.xml
    2.define one interfae annotated with @Mapper and conversion methods
    3.invoke these methods from service implementation class
    For java fullstack trainings contact
    8500122392
    javajungle

Комментарии • 2

  • @sarikasabnam785
    @sarikasabnam785 22 дня назад +1

    can you discuss about wiremock as well

    • @javajungle
      @javajungle  22 дня назад

      @@sarikasabnam785 Wiremock is a tool for mocking HTTP services, and it doesn't directly handle DTO (Data Transfer Object) to entity conversions. But for timebeing we will try to discuss