Java 8
-
Log4j
Log4j Email Configuration Example
It is always better to get notified about any major exceptions that occur in an application instead of manually going…
Read More » -
Log4j
Log4j Conversion Pattern Example
Logging is a critical feature of any application. In this tutorial, I will show you how to implement some useful…
Read More » -
Log4j
Log4j 2 Best Practices Example
Logging is a critical feature of any application. In this tutorial, we will cover some Log4j2 best practices that can…
Read More » -
Log4j
Log4j 2 Getting Started Example
In this tutorial, we will show you how to configure the Log4j2 with log4j2.xml file and print the logging to…
Read More » -
rest
JAX-RS Web Service Example
Hello readers. In this tutorial, we will show how to use the JAX-RS (RESTful) jar files to implement a simple…
Read More » -
servlet
Java Servlet RequestDispatcher Tutorial
Communication between the Servlets is an important task to the programmer. Request Dispatcher is an interface whose implementation defines an…
Read More » -
servlet
Java Servlet Websocket Example
In this article we illustrate a simple chat program using a Websocket endpoint. The Java API for websocket provides both…
Read More » -
servlet
Java Servlet Generate Zip File Example
In this article we illustrate how to generate a zip (compressed) file via a GET request to a custom servlet. The…
Read More » -
jpa
JPA persistence.xml Example
Hello readers! In this tutorial we will show how to implement the Java Persistence API and define the JPA Persistence…
Read More » -
jpa
JPA CriteriaBuilder Example
The Criteria API is a predefined API used to define queries for entities. It is the alternative way of defining…
Read More »