Profile cover photo
Profile photo
MapStruct
17 followers -
Java bean mappings, the easy way!
Java bean mappings, the easy way!

17 followers
About
Posts

Post has shared content

Post has shared content
It’s with great pleasure and excitement that I announce the final release of MapStruct 1.0!

MapStruct is a source code generator for efficient, type-safe mappings between Java bean types, based on annotated interface definitions. It works in your command line builds (e.g. via Maven or Gradle) as well as your favourite IDE. The advantages of this approach are manifold:

* Great performance: Plain method invocations only, no use of reflection
* Compile-time type safety: Only objects and attributes actually mapping to each other can be mapped, no accidental mapping of an order entity into a customer DTO etc.
* Self-contained code: no runtime dependencies
* Early validation and fast feedback: Clear error-reports right at build time if mappings are not complete or incorrect
* Easy to debug: You can inspect the generated mapping in your IDE

Check out the official announcement for all the details; Looking forward to your feedback!
Add a comment...

Post has attachment

Post has attachment

Post has attachment
MapStruct 1.0.0.Beta4 is out, providing support for mapping arrays of Java beans, re-use of mapping configurations via a brand-new inheritance mechanism, ordered setter invocations on the target side and much more.

One thing we're especially excited about is the new MapStruct Eclipse plug-in which will give you an even better experience when using MapStruct within the Eclipse IDE.

That's the last Beta release, it's not much longer finally until MapStruct 1.0!
Add a comment...

Post has shared content
You need to map object structures to one another, which are similar but not exactly the same?

Then you should try out the new release of +MapStruct, a compile-time code generator for bean-to-bean mappings. It gives you fast, type-safe and dependency-free mapping code, generated from simple Java interface definitions.

The latest Beta brings support for mapping nested properties, fine-grained selection of mapping methods via qualifiers, support for Java 8 date/time types and much more. Give it a spin and let us know about your feedback!

Many, many thanks to +Andreas Gudian , Sjaak Derksen, +Timo E aus E and Christian Schuster who all helped with this release!
Add a comment...

Post has attachment
It's my great pleasure to announce the release of MapStruct 1.0.0.Beta2.

Amongst the new features is initial support for Java 8, built-in mappings for the types of the Joda-Time date and time API, flexible mapping customization via inline Java expressions and much more. Check out the announcement post on the web site [1] for all the details.

Many, many thanks to Sjaak Derksen, Andreas Gudian, Timo Eckhardt and Christian Schuster who all put huge efforts into this release. You guys rock!
Add a comment...

Post has attachment
The MapStruct team is very happy to announce the release of MapStruct 1.0.0.Beta1.

The new release comes with comprehensive support for mapping JAXB types, custom object factories, mapping customizations using decorators, enum mappings and much more. You can find the announcement at [1].

A huge thank you to Sjaak Derksen and Andreas Gudian who heavily contributed to this release. You guys rock!
Add a comment...

Post has attachment

Post has attachment
The MapStruct team is very proud to announce MapStruct 1.0.0.Alpha2, a code generator for fast and type-safe Java bean mappings. There are new mapping features such as mapping several source objects into one target object, support for dependency injection, new type conversions and much more.

Check it out and let us know how you like it. Many thanks to +Andreas Gudian and Lukasz Kruger for their contributions, keep them coming!
Add a comment...
Wait while more posts are being loaded