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

Image may be NSFW.
Clik here to view.

Building a Basic UAA-Secured JHipster Microservice

1. Overview In previous articles, we’ve covered the basics of JHipster and how to use it to generate a microservices-based application. In this tutorial, we’ll explore JHipster’s User Account and...

View Article


Image may be NSFW.
Clik here to view.

Debugging Spring Applications

1. Introduction Debugging is one of the most important tools for writing software. In this tutorial, we’ll review some of the ways in which we can debug Spring applications. We’ll also see how Spring...

View Article


Image may be NSFW.
Clik here to view.

Persist a JSON Object Using Hibernate

1. Overview Some projects may require JSON objects to be persisted in a relational database. In this tutorial, we’ll see how to take a JSON object and persist it in a relational database. There are...

View Article

Image may be NSFW.
Clik here to view.

Introduction to JVM Code Cache

1. Introduction In this tutorial, we’re going to have a quick look at and learn about the JVM’s code cache memory. 2. What is the Code Cache? Simply put, JVM Code Cache is an area where JVM stores its...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 261

Here we go… 1. Spring and Java >> Raw String Literals Removed From Java 12 as Feature Set Frozen [infoq.com] A rundown of the features that made the cut for Java 12, and one highly anticipated...

View Article


Image may be NSFW.
Clik here to view.

Intersection of Two Lists in Java

1. Overview In this tutorial, we’ll learn how to retrieve the intersection of two Lists. Like many other things, this has become much easier thanks to the introduction of streams in Java 8. 2....

View Article

Image may be NSFW.
Clik here to view.

Mapping a Dynamic JSON Object with Jackson

1. Introduction Working with predefined JSON data structures with Jackson is straightforward. However, sometimes we need to handle dynamic JSON objects, which have unknown properties. In this short...

View Article

Image may be NSFW.
Clik here to view.

Replace a Character at a Specific Index in a String in Java

1. Introduction In this quick tutorial, we’ll demonstrate how to replace a character at a specific index in a String in Java. We’ll present four implementations of simple methods that take the original...

View Article


Image may be NSFW.
Clik here to view.

Verbose Garbage Collection in Java

1. Overview In this tutorial, we’ll take a look at how to turn on verbose garbage collection in a Java application. We’ll begin by introducing what verbose garbage collection is and why it can be...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Akka HTTP

1. Overview In this tutorial, with the help of Akka’s Actor & Stream models, we’ll learn how to set up Akka to create an HTTP API that provides basic CRUD operations. 2. Maven Dependencies To...

View Article

Image may be NSFW.
Clik here to view.

Differences Between HashMap and Hashtable

1. Overview In this short tutorial, we are going to focus on the core differences between the Hashtable and the HashMap. 2. Hashtable and HashMap in Java Hashtable and HashMap are quite similar – both...

View Article

Image may be NSFW.
Clik here to view.

Hibernate 5 Bootstrapping API

1. Overview In this tutorial, we’ll explore the new mechanism by which we can initialize and start a Hibernate SessionFactory. We’ll especially focus on the new native bootstrapping process as it was...

View Article

Image may be NSFW.
Clik here to view.

Passing Parameters to Java Threads

 1. Overview In this tutorial, we’ll run through different options available for passing parameters to a Java thread. 2. Thread Fundamentals As a quick reminder, we can create a thread in Java by...

View Article


Image may be NSFW.
Clik here to view.

JEE vs J2EE vs Jakarta

1. Introduction Ever heard of Java EE? How about Java 2EE, J2EE, or now Jakarta EE? Actually, these are all different names for the same thing: a set of enterprise specifications that extend Java SE....

View Article

Image may be NSFW.
Clik here to view.

Concatenating Strings In Java

1. Introduction Java provides a substantial number of methods and classes dedicated to concatenating Strings. In this tutorial, we’ll dive into several of them as well as outline some common pitfalls...

View Article


Image may be NSFW.
Clik here to view.

Convert a Comma Separated String to a List in Java

1. Overview In this tutorial, we’ll look at converting a comma-separated String into a List of strings. Additionally, we’ll transform a comma-separated String of integers to a List of Integers. 2....

View Article

Image may be NSFW.
Clik here to view.

Criteria Queries Using JPA Metamodel

1. Overview In this tutorial, we’ll discuss how to use the JPA static metamodel classes while writing criteria queries in Hibernate. We’ll need a basic understanding of criteria query APIs in...

View Article


Image may be NSFW.
Clik here to view.

Integrating Spring Boot with HSQLDB

1. Overview Spring Boot makes it really easy to work with different database systems, without the hassle of manual dependency management. More specifically, Spring Data JPA starter provides all the...

View Article

Image may be NSFW.
Clik here to view.

INSERT Statement in JPA

1. Overview In this quick tutorial, we’ll learn how to perform an INSERT statement on JPA objects. For more information about Hibernate in general, check out our comprehensive guide to JPA with Spring...

View Article

Image may be NSFW.
Clik here to view.

Java 11 Nest Based Access Control

1. Introduction In this tutorial, we will explore nests, the new access control context introduced in Java 11. 2. Before Java 11 2.1. Nested Types Java allows classes and interfaces to be nested within...

View Article
Browsing all 4535 articles
Browse latest View live


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