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

Image may be NSFW.
Clik here to view.

Deploy a Spring Boot Application to Google App Engine

1. Overview In this tutorial, we’ll show how to deploy an application from our Bootstrap a Simple Application using Spring Boot tutorial to App Engine on Google Cloud Platform. As part of this we’ll:...

View Article


Image may be NSFW.
Clik here to view.

Calculate Percentage in Java

1. Introduction In this quick tutorial, we’re going to implement a CLI program to calculate percentage in Java. But first, let’s define how to calculate percentage mathematically. 2. Mathematical...

View Article


Image may be NSFW.
Clik here to view.

A Quick Guide to Apache Geode

1. Overview Apache Geode is a distributed in-memory data grid supporting caching and data computation. In this tutorial, we’ll cover Geode’s key concepts and run through some code samples using its...

View Article

Image may be NSFW.
Clik here to view.

CDI Portable Extension and Flyway

1. Overview In this tutorial, we’ll go over an interesting feature of CDI (Context and Dependency Injection) called CDI portable extension. First, we’ll start by understanding how it works, and then...

View Article

Image may be NSFW.
Clik here to view.

Quicksort Algorithm Implementation in Java

1. Overview In this tutorial, we’ll explore the QuickSort algorithm in detail, focusing on its Java implementation. We’ll also discuss its advantages and disadvantages and then analyze its time...

View Article


Image may be NSFW.
Clik here to view.

Combining RxJava Completables

1. Overview In this tutorial, we’ll play with RxJava’s Completable type, which represents a computation result without an actual value. 2. RxJava Dependency Let’s include the RxJava 2 dependency into...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 249

Here we go… 1. Spring and Java >> Explore the New Java 10 “var” Type: An Introduction and Hands-on Tutorial [infoq.com] A nice write-up about type inference for local variables, a shiny new...

View Article

Image may be NSFW.
Clik here to view.

Kotlin return, break, continue Keywords

1. Overview In this tutorial, we’ll discuss the usage of structural jump expressions in Kotlin. Simply put, Kotlin has three structural jump expressions: return, break, continue. In the next sections,...

View Article


Image may be NSFW.
Clik here to view.

ETL with Spring Cloud Data Flow

1. Overview Spring Cloud Data Flow is a cloud-native toolkit for building real-time data pipelines and batch processes. Spring Cloud Data Flow is ready to be used for a range of data processing use...

View Article


Image may be NSFW.
Clik here to view.

Merging Two Maps with Java 8

1. Introduction In this quick tutorial, we’ll demonstrate how to merge two maps using the Java 8 capabilities. To be more specific, we’ll examine different merging scenarios including maps having...

View Article

Image may be NSFW.
Clik here to view.

Calculating the nth Root in Java

1. Overview Trying to find the n-th root in Java using pow() is inaccurate in some cases. The reason for that is that Math.pow(double a, double b) uses double numbers, losing precision on the way. 2....

View Article

Image may be NSFW.
Clik here to view.

Spring Data MongoDB Transactions

1. Overview Starting from the 4.0 release, MongoDB supports multi-document ACID transactions. And, Spring Data Lovelace now provides support for these native MongoDB transactions. In this tutorial,...

View Article

Image may be NSFW.
Clik here to view.

Using Math.sin with Degrees

1. Introduction In this short tutorial, we’ll look at how to calculate sine values using Java’s Math.sin() function and how to convert angle values between degrees and radians. 2. Radians vs. Degrees...

View Article


Image may be NSFW.
Clik here to view.

How to Check If a Key Exists in a Map

1. Overview In this brief tutorial, we’ll look at ways to check if a key exists in a Map. Specifically, we’ll focus on containsKey and get. 2. containsKey If we take a look at the JavaDoc for...

View Article

Image may be NSFW.
Clik here to view.

Maven Polyglot

1. Overview Maven Polyglot is a set of Maven core extensions that allows the POM model to be written in any language. This includes many scripts and markup languages other than XML. The primary goal...

View Article


Image may be NSFW.
Clik here to view.

Logging to Graylog with Spring Boot

1. Introduction Graylog is a log aggregation service. Simply put, it’s capable of collecting millions of log messages from multiple sources and displaying them in a single interface. And, it also...

View Article

Image may be NSFW.
Clik here to view.

Cache Eviction in Spring Boot

1. Overview In this short tutorial, we’re going to learn how we can perform cache eviction using Spring. We’ll be creating a small example to demonstrate this. Before proceeding, check out our article...

View Article


Image may be NSFW.
Clik here to view.

Gradle: build.gradle vs. settings.gradle vs. gradle.properties

1. Overview In this article, we’ll look at the different configuration files of a Gradle Java project. Also, we’ll see the details of an actual build. You can check this article for a general...

View Article

Image may be NSFW.
Clik here to view.

Guide to Java OutputStream

1. Overview In this tutorial, we’ll explore details about the Java class OutputStream. OutputStream is an abstract class. This serves as the superclass for all classes representing an output stream of...

View Article

Image may be NSFW.
Clik here to view.

Insertion Sort in Java

1. Overview In this tutorial, we’re going to discuss the Insertion Sort algorithm and have a look at its Java implementation. Insertion Sort is an efficient algorithm for ordering a small number of...

View Article
Browsing all 4535 articles
Browse latest View live


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