Quantcast
Channel: Baeldung
Browsing all 3605 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to Import a .cer Certificate Into a Java KeyStore

1. Overview A KeyStore, as the name suggests, is basically a repository of certificates, public and private keys. Moreover, JDK distributions are shipped with an executable to help manage them, the...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 356

1. Spring and Java >> JEP proposed to target JDK 16: Unix-Domain Socket Channels [mail.openjdk.java.net] More channels for NIO: Java 16 will support Unix domain sockets as part of its NIO...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Netflix Mantis

1. Overview In this article, we'll take a look at the Mantis platform developed by Netflix. We'll explore the main Mantis concepts by creating, running, and investigating a stream processing job. 2....

View Article

Image may be NSFW.
Clik here to view.

Accessing Keycloak Endpoints Using Postman

1. Introduction In this article, we start with a quick review of OAuth 2.0, OpenID, and Keycloak. Afterward, we'll learn about the Keycloak REST APIs and how to call them in Postman. 2. OAuth 2.0 OAuth...

View Article

Image may be NSFW.
Clik here to view.

Get Names of Classes Inside a JAR File

1. Overview Most Java libraries are available as JAR files. In this tutorial, we'll address how to get names of classes inside a given JAR file from the command line and from a Java program. Then,...

View Article


Image may be NSFW.
Clik here to view.

Retrofit 2 – Dynamic URL

1. Overview In this short tutorial, we'll learn how to create a dynamic URL in Retrofit2. 2. @Url Annotation There are cases when we need to use a dynamic URL in our application during runtime. Version...

View Article

Image may be NSFW.
Clik here to view.

Set JWT with Spring Boot and Swagger UI

1. Introduction In this short tutorial, we're going to see how to configure Swagger UI to include a JSON Web Token (JWT) when it calls our API. 2. Maven Dependencies In this example, we'll be using...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 357

1. Spring and Java >> The JPA and Hibernate first-level cache [vladmihalcea.com] On the benefits of the first-level cache in JPA/Hibernate: write-behind cache, batching, and application-level...

View Article


Image may be NSFW.
Clik here to view.

Dependency Management in Gradle

1. Overview In this tutorial, we'll look at declaring dependencies in a Gradle build script. For our examples, we'll be using Gradle 6.7. 2. Typical Structure Let's start with a simple Gradle script...

View Article


Image may be NSFW.
Clik here to view.

Apache Commons Collections vs Google Guava

1. Overview In this tutorial, we'll compare two Java-based open source libraries: Apache Commons and Google Guava. Both libraries have a rich feature set with lots of utility APIs majorly in the...

View Article

Image may be NSFW.
Clik here to view.

Storing Files Indexed by a Database

1. Overview When we are building some sort of content management solution, we need to solve two problems. We need a place to store the files themselves, and we need some sort of database to index them....

View Article

Image may be NSFW.
Clik here to view.

AbstractMethodError in Java

1. Overview Sometimes, we may encounter AbstractMethodError at runtime in our application. If we don't know this error well, it might take a while to determine the cause of the problem. In this...

View Article

Image may be NSFW.
Clik here to view.

Understanding the & 0xff Value in Java

1. Overview 0xff is a number represented in the hexadecimal numeral system (base 16). It's composed of two F numbers in hex. As we know, F in hex is equivalent to 1111 in the binary numeral system. So,...

View Article


Image may be NSFW.
Clik here to view.

Distributed Performance Testing with JMeter

1. Overview In this article, we'll explore distributed performance testing using JMeter. 2. What is Distributed Performance Testing? Distributed performance testing means using multiple systems with...

View Article

Image may be NSFW.
Clik here to view.

The transient Keyword in Java

1. Introduction In this article, we'll first understand the transient keyword, and then we'll see its behavior through examples. 2. Usage of transient Let's first understand the serialization before...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 358

1. Spring and Java >> From Reactor to Coroutines [blog.frankel.ch] A practical take on how to migrate from Project Reactor to Kotlin coroutines: R2DBC and coroutine repositories, web handers and...

View Article

Image may be NSFW.
Clik here to view.

Java (String) or .toString()?

1. Introduction In this article, we'll provide a brief explanation of the differences between String casting and executing the toString() method. We'll briefly review both syntaxes and go through an...

View Article


Image may be NSFW.
Clik here to view.

Extending Enums in Java

1. Overview The enum type, introduced in Java 5, is a special data type that represents a group of constants. Using enums, we can define and use our constants in the way of type safety. It brings...

View Article

Image may be NSFW.
Clik here to view.

Check if a Java Program Is Running in 64-Bit or 32-Bit JVM

1. Overview Although Java is platform-independent, there are times when we have to use native libraries. In those cases, we might need to identify the underlying platform and load the appropriate...

View Article

Image may be NSFW.
Clik here to view.

Functional Programming in Java

1. Introduction In this tutorial, we'll understand the functional programming paradigm's core principles and how to practice them in the Java programming language. We'll also cover some of the advanced...

View Article
Browsing all 3605 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>