Log4j 1.2.x basic example
This tutorial presents log4j 1.2.x basic examples. How to log a message and an exception.
Log4j Logging Levels
Log4j Logging Levels explained. For the standard levels, this is the order: ALL
How to send emails using JavaMail
How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.
Java 8 forEach examples
Java 8 forEach examples. Map and list loop using lambda, method reference, stream and filter.
How to sort objects with Comparable and Comparator in Java
How to sort objects with Comparable and Comparator in Java. Primitive array and list sorting. Java Object sorting with Comparable and Comparator.
GET/POST request with Apache HttpClient
GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.
Search
Other Posts
Follow Us On