August 14, 2022

RESTful Java client with

In this tutorial, we show you how to create a RESTful Java client with Java build-in HTTP client library. It’s simple to use and good enough to perform basic operations for REST service. The RESTful services from last “Jackson + JAX-RS” article will be reused, and we will use “” and “” to create a simple Java client to send “GET” and “POST” request.

RESTful Java client with Read More

How to load for java.util.logging

In Java Logging APIs or java.util.logging, we use system property java.util.logging.config.file to define the location of the file. Normally, we put the at the src/main/resources, and project compile or build will copy it to the root of the classpath. And we can use LogManager or System.setProperty to load the programmatically.

How to load for java.util.logging Read More