JUnit 3 vs JUnit 4 Comparison

  • 01 March 2017
  • ADM

Junit 3 vs Junit 4 Comparison. Junit 4 is introducing new features like annotations, static import, timeout.


Log4j 1.2.x basic example

  • 10 February 2017
  • ADM

This tutorial presents log4j 1.2.x basic examples. How to log a message and an exception.


How to skip Maven unit tests

  • 18 October 2017
  • ADM

How to skip Maven unit test using Maven feature maven.test.skip and surefire plugin property skipTests.


Log4j Logging Levels

  • 08 February 2017
  • ADM

Log4j Logging Levels explained. For the standard levels, this is the order: ALL


How to send emails using JavaMail

  • 08 February 2017
  • ADM

How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.


How to open port for a specific IP address on CentOS 7

  • 02 February 2017
  • ADM

How to open port for a specific IP address on CentOS 7. Using the firewall-cmd command with add-rich-rule parameter.