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

Поділитися
Вставка
  • Опубліковано 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 23 дні тому +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