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…

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…

Web Services with Apache CXF

CXF framework is widely used to create web services. It supports a variety of protocols such as SOAP, XML/HTTP, RESTful HTTP, or CORBA and work over a variety of transports such as HTTP, JMS or JBI. CXF has some tools like wsdl2java witch generate web service code from WSDL. This tool is very useful but…

Spring Integration

Today’s business applications rarely live in isolation. That’s why we have often in applications development to implement a communication module to make the new application exchanging data with the existent information system. To implement those data flow we can use many technologies (JMS, SOA, Apache commons IO …). Managing all those components in a project…