Object Binding with remap in Java

Object binding or mapping is something as old as Java. Sometimes you need to use this technique in order to isolate your core domain from your contract or with your persistence layer. It's always a good idea to have a clean and separated core.  DDD calls it an Anti-Corruption Layer. SOC(Separation of concerns) is always a good idea. As time passes Services and Services teams kind of lose that great Architectural and SOA Principles no wonder things are harder them before.  So today I want to talk a bit and show some code about a library called remap. Which provides declarative mapping. It's super easy to use and really will boost you productivity. So Let's get started!

The Video

The Code

https://github.com/diegopacheco/java-pocs/tree/master/pocs/remap-fun

Cheers,

Diego Pacheco

Popular posts from this blog

Java Agents

Manage Work not People

DDD The Lost Discipline