RESTEasy hello world example
RESTEasy, JBoss project, implementation of the JAX-RS specification. In this tutorial, we show you how to use RESTEasy framework to create a simple REST style web application. Technologies and Tools…
Java Logging APIs Tutorial
This tutorial shows logging using the Java built-in logging APIs in the java.util.logging package. The java.util.logging is bundled with the Java since JDK 1.4. This Java logging APIs or java.util.logging…
Jersey hello world example
This article shows how to start a Grizzly HTTP server to run a JAX-RS or Eclipse Jersey application. Tested with: Jersey 3.0.2 , Grizzly 3 HTTP server, Java 8, Maven,…
JAX-RS Tutorial
Java API for RESTful Web Services (JAX-RS), is a set if APIs to developer REST service. JAX-RS is part of the Java EE6, and make developers to develop REST web…
Spring Caching and Ehcache example
In this tutorial, we will show you how to enable data caching in a Spring application, and integrate with the popular Ehcache framework. Tools used: Ehcache 2.9, Spring 4.1.4.RELEASE, Logback…
ERROR Source or Target option 1.5 is no longer supported. Use 1.6 or later
It all happens when I was trying to build a springboot application by ./mvnw clean install. When I first run the install command, it runs into following problem: Source option…
Maven Profiles example
In this article, we will show you few Maven profile examples to pass different parameters (server or database parameters) for different environments (dev, test or prod). Tested with Maven 3.5.3
Create a fat Jar file – Maven Shade Plugin
In this tutorial, we will show you how to use Maven Shade Plugin to create a Jar together with its dependency Jars into a single executable Jar file, so called…