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

Image may be NSFW.
Clik here to view.

Using Pairs in Java

1. Overview In this quick article, we discuss the highly useful programming concept known as a Pair. Pairs provide a convenient way of handling simple key to value association and are particularly...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 194

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Five Command Line Options To Hack The Java 9 Module System [blog.codefx.org] Java 9 will be out in a week –...

View Article


Image may be NSFW.
Clik here to view.

Introduction to EGit

1. Overview In this article, we’re going to explore EGit – an evolution of the JGit library for Eclipse. 2. EGit Setup During the article, we’ll use the following tools: Eclipse Neon.3 version 4.6.3...

View Article

Image may be NSFW.
Clik here to view.

Guide to Mustache with Spring Boot

1. Overview In this article, we’ll focus on using Mustache templates for producing HTML content in Spring Boot applications. It’s a logic-less template engine for creating dynamic content, which is...

View Article

Image may be NSFW.
Clik here to view.

Binary Search Algorithm in Java

1. Overview In this article, we’ll cover advantages of a binary search over a simple linear search and walk through its implementation in Java. 2. Need for Efficient Search Let’s say we’re in the...

View Article


Image may be NSFW.
Clik here to view.

“Stream has already been operated upon or closed” Exception in Java

1. Overview In this brief article, we’re going to discuss a common Exception that we may encounter when working with the Stream class in Java 8: IllegalStateException: stream has already been operated...

View Article

Image may be NSFW.
Clik here to view.

Vavr Tutorial

Vavr is a functional library for Java 8+ that provides immutable data types and functional control structures. Functional programming is not only a new set of tools to get accustomed with but also a...

View Article

Image may be NSFW.
Clik here to view.

Guide to the Diamond Operator in Java

1. Overview In this article, we’ll look at the diamond operator in Java and how generics and the Collections API influenced its evolution. 2. Raw Types Prior to Java 1.5, the Collections API supported...

View Article


Image may be NSFW.
Clik here to view.

Introduction to GeoTools

1. Overview In this article, we’ll go through the basics of the GeoTools open source Java library – for working with geospatial data. This library provides compliant methods for implementing...

View Article


Image may be NSFW.
Clik here to view.

Introduction to EthereumJ

1. Introduction In this article, we take a look at the EthereumJ library that allows us to interact with the Ethereum blockchain, using Java. First, let’s just briefly dive into what this technology...

View Article

Image may be NSFW.
Clik here to view.

Observable Utility Operators in RxJava

1. Overview In this article, we’ll discover some utility operators for working with Observables in RxJava and how to implement custom ones. An operator is a function that takes and alters the behavior...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 195

Today – Java 9 goes live (I’ve been waiting for some time to write this sentence). Let’s jump right in… 1. Spring and Java >> The Top 10 Jigsaw and Java 9 Misconceptions Debunked...

View Article

Image may be NSFW.
Clik here to view.

Guide to LinkRest

1. Overview LinkRest is an open-source framework for building data-driven REST web services. It’s built on top of JAX-RS and Apache Cayenne ORM, and uses an HTTP/JSON-based message protocol....

View Article


Image may be NSFW.
Clik here to view.

Introduction to Jukito

1. Overview Jukito is the combined power of JUnit, Guice, and Mockito – used for simplifying testing of multiple implementations of the same interface. In this article we’re going to see how authors...

View Article

Image may be NSFW.
Clik here to view.

Proxy, Decorator, Adapter and Bridge Patterns

1. Introduction In this article, we’re going to focus on Structural Design Patterns in Java – and discuss what these are and some fundamental differences between some of them. 2. Structural Design...

View Article


Image may be NSFW.
Clik here to view.

Collection Factory Methods for Vavr

1. Overview Vavr is a powerful library for Java 8+, built on top of Java lambda expressions. Inspired by the Scala language, Vavr adds functional programming constructs to the Java language, such as...

View Article

Image may be NSFW.
Clik here to view.

Granted Authority Versus Role in Spring Security

1. Overview In this quick article, we’ll explain the subtle but significant difference between a Role and a GrantedAuthority in Spring Security. For more detailed information on roles and authorities,...

View Article


Image may be NSFW.
Clik here to view.

Introduction to rxjava-jdbc

1. Overview Simply put, rxjava-jdbc is an API for interacting with relational databases which allows fluent-style method calls. In this quick tutorial, we’re going to have a look at the library and...

View Article

RxJava Tutorial

RxJava is a Reactive Extensions implementation for Java environment. The library utilizes a combination of functional and reactive techniques that can represent an elegant approach to event-driven...

View Article

Kotlin Tutorial

Kotlin is a new statically-typed language in the JVM world with a developer-friendly syntax and strong Java interoperability. It’s now also a first-class language on the Android platform. >>...

View Article
Browsing all 3522 articles
Browse latest View live