Blinking LED on Raspberry Pi using Java

  • 21 March 2017
  • ADM

How to make a LED blinking on Raspberry Pi using Java. Simple sample code using pi4j library.


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.


log4j.properties basic examples

  • 09 February 2017
  • ADM

log4j.properties basic examples. Output to the console and to the file.


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.


GET/POST request with Apache HttpClient

  • 27 January 2017
  • ADM

GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.