I recently read and shared You’re Wasting Time in #Java Without These 10 Libraries. I commented on it a bit in my newsletter, but given the amount and intensity of reactions, I think a full-blown post is in order.

* Project #Lombok
* #MapStruct
* #JUnit 5 & #Mockito
* #SLF4J with Logback
* Apache Commons Lang & Google Guava
* #Jackson
* Hibernate Validator
* #SpringFramework
* Apache HttpClient / OkHttp
* #Liquibase or #Flyway

https://blog.frankel.ch/wasting-time-without-10-libraries/

Are you really wasting your time in Java without these 10 libraries?

I recently read and shared You’re Wasting Time in Java Without These 10 Libraries. I commented on it a bit in my newsletter, but given the amount and intensity of reactions, I think a full-blown post is in order. The referenced libraries are: Project LombokMapStructJUnit 5 & MockitoSLF4J with LogbackApache Commons Lang & Google GuavaJacksonHibernate ValidatorSpring FrameworkApache HttpClient / OkHttpLiquibase or Flyway Lombok Project Lombok is a java library that automatically plugs

A Java geek

[Перевод] MapStruct: как безобидный метод портит весь маппинг

При работе с MapStruct возникает соблазн добавлять небольшие вспомогательные методы прямо в ваш mapper и вызывать их через expression . Однако если такой метод оперирует довольно общими типами (например, String -> String ), MapStruct может обнаружить его и применить к другим полям того же типа — даже если вы этого не планировали.

https://habr.com/ru/companies/T1Holding/articles/963642/

#java #kotlin #mapstruct

MapStruct: как безобидный метод портит весь маппинг

При работе с MapStruct возникает соблазн добавлять небольшие вспомогательные методы прямо в ваш mapper и вызывать их через expression . Однако если такой метод оперирует довольно общими типами...

Хабр
Quarkus Hands-On Tutorial: Effortless Data Transfer with Entities and DTOs
Quarkus might be known for its blazing speed, but that doesn't mean we should be reckless with our data models.
https://myfear.substack.com/p/quarkus-dto-mapstruct-guide
#Java #Quarkus #MapStruct #DTO #REST
MapStructur – Self-hosted map editor with draggable markers and Docker support
https://itfourall.com/mapstruct.php
#ycombinator #MapStruct #interactive_map #map_editor #marker_placement #multi_page_maps #map_links
MapStruct – Interactive Map Editor for Custom Map Creation

MapStruct is a modern tool for creating interactive maps. Insert custom background maps, create multiple pages, place markers, and add links easily.

MapStruct — смаппь меня, если сможешь

Я потратил на изучение данной библиотеки немало нервных клеток, и уверен, что узнал далеко не все способы и лайфхаки, но постарался донести информацию с практической стороны, чтобы вы с самого старта не испытывали "нежданчиков" и сэкономили свое время в попытках найти работающий способ.

https://habr.com/ru/articles/818489/

#java #spring #mapstruct #mapping #dto #конвертация #springboot #rest #rest_api

MapStruct — смаппь меня, если сможешь

Исходный код проекта: github В этой статье мы разберемся с такими понятиями как DTO , Mapping , а также примерами их использования (в самом конце вы увидите полезные ссылки на доп источники по теме)....

Хабр

Introduced MapStruct by @gunnarmorling into my new customer project. This is still the best solution I know to map between layers in Java. Especially when the project uses hexagonal architecture, which has layers. Layers everywhere...

It also supports mapping from two different sources, mapping into an existing object and deep clones. Thanks for this fine piece of software, Gunnar and friends.

https://mapstruct.org/

#mapstruct #java #hexagonalArchitecture

MapStruct – Java bean mappings, the easy way!

Sehr cool, #adesso sponsored #oss. #mapstruct #plantuml #java
#MapStruct #Spring Extensions 1.1.0 is out. I must admit that I do feel a little proud of this particular release as it adds a nice feature called "ConverterScan" which will help everyone in reducing the boilerplate their integration tests - and don't we all love concise tests? Big thanks to everybody who contributed ideas over the past (almost) 3 years. https://mapstruct.org/news/2023-09-25-mapstruct-spring-extensions-1-1-0-released/
MapStruct Spring Extensions 1.1.0 released – MapStruct

We just released #MapStruct #Spring extensions version 1.0.0. https://tinyurl.com/mses100 I’m a bit proud of it reaching this stage. Who would ever have thought that a simple SO question would lead to this?
Release Release 1.0.0 · mapstruct/mapstruct-spring-extensions

Changes in this release: It is not necessary anymore to explicitly declare the convert method in the mapper interface if it doesn't require any Mapstruct core annotations like @Mapping. Thanks to ...

GitHub
Using Lombok and MapStruct in a Maven Project – Stephen Nimmo