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

Image may be NSFW.
Clik here to view.

Difference between URL and URI

1. Overview In this short article, we’ll take a look at the main differences between URIs and URLs and implement examples to highlight those differences. 2. URI and URL The difference between them is...

View Article


Image may be NSFW.
Clik here to view.

Spring Boot Dependency Management with a Custom Parent

1. Overview Spring Boot provides the parent POM for an easier creation of Spring Boot applications. However, using the parent POM may not always be desirable, if we already have a parent to inherit...

View Article


Image may be NSFW.
Clik here to view.

Broadcasting and Multicasting in Java

1. Introduction In this article, we describe how one-to-all (Broadcast) and one-to-many (Multicast) communications can be handled in Java. The broadcast and multicast concepts outlined in this article...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 190

Here we go… 1. Spring and Java >> Java Still Number One, But What’s Taking Over? [infoq.com] Surprising no one, Java is still number one, but interest in the language is making room for...

View Article

Image may be NSFW.
Clik here to view.

Java 8 Stream API Analogies in Kotlin

1. Introduction Java 8 introduced the concept of Streams to the collection hierarchy. These allow for some very powerful processing of data in a very readable way, utilizing some functional programming...

View Article


Image may be NSFW.
Clik here to view.

Guide to Volatile Keyword in Java

1. Overview In this quick article, we’ll focus on a foundational but often misunderstood concept in the Java language – the volatile keyword. In Java, each thread has a separate memory space known as...

View Article

Image may be NSFW.
Clik here to view.

Guide to Spring Data LDAP

1. Introduction In this article, we’ll focus on Spring Data LDAP integration and configuration. For a step by step introduction to Spring LDAP, have a quick look at this article. Also, you can find...

View Article

Image may be NSFW.
Clik here to view.

Automatic Property Expansion with Spring Boot

1. Overview In this article, we’ll explore the property expansion mechanism provided by Spring through Maven and Gradle build methods. 2. Maven 2.1. Default Configuration For Maven projects using the...

View Article


Image may be NSFW.
Clik here to view.

Introduction to GraphQL

1. Overview GraphQL is a query language, created by Facebook with the purpose of building client applications based on intuitive and flexible syntax, for describing their data requirements and...

View Article


Image may be NSFW.
Clik here to view.

Difference Between Two Dates in Java

1. Overview In this quick write-up, we’ll explore multiple possibilities of calculating the difference between two dates in Java. 2. Core Java 2.1. java.util.Date Let’s start by using the core Java...

View Article

Image may be NSFW.
Clik here to view.

Runnable vs. Callable in Java

1. Overview Since the early days of Java, multithreading has been a major aspect of the language. Runnable is the core interface provided for representing multi-threaded tasks and Callable is an...

View Article

Image may be NSFW.
Clik here to view.

Introduction to EJB JNDI Lookup on WildFly Application Server

1. Overview Enterprise Java Beans (EJB) are the core part of the Java EE specification, aimed at simplifying the development of distributed enterprise-level applications. The life-cycle of EJBs is...

View Article

Image may be NSFW.
Clik here to view.

Introduction to javax.measure

1. Overview In this article, we’ll introduce the javax.measure library – which provides a unified way of representing measures and units in Java. While working with a program containing physical...

View Article


Image may be NSFW.
Clik here to view.

Spring Yarg Integration

1. Overview Yet Another Report Generator (YARG) is an open source reporting library for Java, developed by Haulmont. It allows creating templates in most common formats (.doc, .docs, .xls, .xlsx,...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Vavr’s Validation API

1. Overview Validation is a frequently occurring task in Java applications, and hence a lot of effort has been put into the development of validation libraries. Vavr (formerly known as Javaslang)...

View Article


Image may be NSFW.
Clik here to view.

Delete a Directory Recursively in Java

1. Introduction In this article, we’ll illustrate how to delete a directory recursively in plain Java. We’ll also look at some alternatives for deleting directories using external libraries. 2....

View Article

Image may be NSFW.
Clik here to view.

“Sneaky Throws” in Java

1. Overview In Java, the sneaky throw concept allows us to throw any checked exception without defining it explicitly in the method signature. This allows the omission of the throws declaration,...

View Article


Image may be NSFW.
Clik here to view.

OutOfMemoryError: GC Overhead Limit Exceeded

1. Overview Simply put, the JVM takes care of freeing up memory when objects are no longer being used; this process is called Garbage Collection (GC). The GC Overhead Limit Exceeded error is one from...

View Article

Image may be NSFW.
Clik here to view.

Spring MVC Setup with Kotlin

1. Overview In this quick tutorial, we’ll take a look at what it takes to create a simple Spring MVC project with the Kotlin language. 2. Maven For the Maven configuration, we need to add the...

View Article

Image may be NSFW.
Clik here to view.

Guide to Collections API in Vavr

1. Overview The Vavr library, formerly known as Javaslang, is a functional library for Java. In this article, we explore its powerful collections API. To get more information about this library,...

View Article
Browsing all 3610 articles
Browse latest View live


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