Blog Posts

Recent posts

Maven Release plugin

less than 1 minute read

Useful commands 1 2 3 4 5 6 7 8 9 10 1. Prepare mvn release:prepare 2. Perform release mvn release:perform 3. Update develop version number mvn release...

Java - Log4j fixed file size setting example

less than 1 minute read

1 2 3 4 5 6 7 8 9 10 log4j.rootLogger=INFO, loggerId log4j.appender.loggerId=org.apache.log4j.rolling.RollingFileAppender log4j.appender.loggerId.rollingPoli...

Apache CXF - getting ServletContext in code

less than 1 minute read

It is common to get a Servlet context on implementing WEB API. Apache CXF has a little different approach to get this instance. The following code show how t...

Java - create a Java application with Maven

less than 1 minute read

With the following command you can create an application directory quickly 1 2 mvn archetype:generate -DgroupId=com.demo.app -DartifactId=appDemo -Darchetyp...