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

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

Image may be NSFW.
Clik here to view.

Guide to JDeferred

1. Overview JDeferred is a small Java library (also supports Groovy) used for implementing asynchronous topology without writing boilerplate code. This framework is inspired by the Jquery’s...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 193

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Java to Move to 6-Monthly Release Cadence [infoq.com] Moving forward, Java will be released twice a year. This...

View Article

Image may be NSFW.
Clik here to view.

How to Iterate Over a Stream With Indices

1. Overview Java 8 Streams are not collections and elements cannot be accessed using their indices, but there are still a few tricks to make this possible. In this short article, we’re going to look...

View Article


Image may be NSFW.
Clik here to view.

Integrating Retrofit with RxJava

1. Overview This article focuses on how to implement a simple RxJava-ready REST Client using Retrofit. We’ll build an example application interacting with the GitHub API – using the standard Retrofit...

View Article

Image may be NSFW.
Clik here to view.

StringBuilder and StringBuffer in Java

1. Overview In this short article, we’re going to look at similarities and differences between StringBuilder and StringBuffer in Java. Simply put, StringBuilder was introduced in Java 1.5 as a...

View Article


Image may be NSFW.
Clik here to view.

New in Spring Security OAuth2 – Verify Claims

1. Overview In this quick tutorial, we’ll work with a Spring Security OAuth2 implementation and we’ll learn how to verify JWT claims using the new JwtClaimsSetVerifier – introduced in Spring Security...

View Article

Image may be NSFW.
Clik here to view.

Introduction to MBassador

1. Overview Simply put, MBassador is a high-performance event bus utilizing the publish-subscribe semantics. Messages are broadcasted to one or more peers without the prior knowledge of how many...

View Article

Image may be NSFW.
Clik here to view.

Example of Vertx and RxJava Integration

1. Overview RxJava is a popular library for creating asynchronous and event-based programs, it takes inspiration from the main ideas brought forward by the Reactive Extensions initiative. Vert.x, a...

View Article
Browsing all 4535 articles
Browse latest View live


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