log1

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…

Mock-ito

JUnit test with Mockito and Spring

It is important to be able to perform some integration testing without requiring deployment to your application server or connecting to other enterprise infrastructure. This could be done in your Spring project by using Spring-test library and Mockito framework.     Photo credit: Honey In this post, I present a simple way to create a mock…