MapStruct

MapStruct is a serious alternative for Dozer bean mapping project. It’s a code generator which simplifies the implementation of mappings between Java bean types based on a convention over configuration approach. MapStruct solves some traditional mapping issues like a lack of performance, difficult mapping code debugging and late errors détection (usually in code execution). This…

Dozer – Bean mapping

Mapping frameworks helps to structure beans mapping code and to avoid a mess of nonfunctional code all over the application classes. Dozer is commonly used mapping framework. It provides deferent beans mappings modes (XML, API and annotation). But if you have a complex beans mapping case, you may need to use Dozer API with a…

Spring MVC – Full java based config

Spring MCV is a very powerful and flexible framework for web application development. It doesn’t just implement the MVC pattern, it allows you to develop Rest web services.     This post presents a web project sample with a full java configuration using Spring MVC 4 and Servlet 3 api. The source code is available in…

Logback – Dynamic creation of log files

Some project have some log constraints that are difficult to implements with Log4j. Logback is an alternative to log4j. It gives you more possibilities and it can easily implements your log policies.     Origami by Brian Chan In this post, I present a simple of Logback configuration for a maven project. This configuration implements a…