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

Image may be NSFW.
Clik here to view.

Using InfluxDB with Java

1. Overview InfluxDB is a high-performance store for time-series data. It supports insertion and real-time querying of data via a SQL-like query language. In this introductory article, we’ll...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Future in Vavr

1. Introduction Core Java provides a basic API for asynchronous computations – Future. CompletableFuture is one of its newest implementations. Vavr provides its new functional alternative to the...

View Article


Image may be NSFW.
Clik here to view.

A Guide to Iterator in Java

1. Introduction An Iterator is one of many ways we can traverse a collection, and as every option, it has its pros and cons. It was first introduced in Java 1.2 as a replacement of Enumerations and:...

View Article

Image may be NSFW.
Clik here to view.

Phantom References in Java

1. Overview In this article, we’ll have a look at the concept of a Phantom Reference – in the Java language. 2. Phantom References Phantom references have two major differences from soft and weak...

View Article

Image may be NSFW.
Clik here to view.

Weak References in Java

1. Overview In this article, we’ll have a look at the concept of a weak reference – in the Java language. We’re going to explain what these are, what they’re used for and how to work with them...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Java Primitives

1. Overview The Java Programming Language features eight primitive data types. In this article, we’ll recall what primitives are and go over them. 2. Primitive Data Types The eight primitives defined...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 211

Let’s jump right in … 1. Spring and Java >> Spring, Reactor and ElasticSearch: from callbacks to reactive streams [nurkiewicz.com] Even if some tools don’t provide out-of-the-box support for...

View Article

Image may be NSFW.
Clik here to view.

Spring Cloud AWS – S3

In this quick article, we’re going to explore the AWS support provided in the Spring Cloud platform – focusing on S3. 1. Simple S3 Download Let’s start by easily accessing files stored on S3:...

View Article


Image may be NSFW.
Clik here to view.

Spring Cloud AWS – EC2

In the previous article, we’re focusing on S3; now we’ll focus on the Elastic Compute Cloud – commonly known as EC2. 1. EC2 Metadata Access The AWS EC2MetadataUtils class provides static methods to...

View Article


Image may be NSFW.
Clik here to view.

Spring Cloud AWS – RDS

In the previous article, we were focusing on EC2; now, let’s move on to the Relational Database Service. 1. RDS Support 1.1. Simple Configuration Spring Cloud AWS can automatically create a DataSource...

View Article

Image may be NSFW.
Clik here to view.

Spring Cloud AWS – Messaging Support

In the final article, we move on to AWS Messaging Support. 1. AWS Messaging Support 1.1. SQS (Simple Queue Service) We can send messages to an SQS queue using the QueueMessagingTemplate. To create...

View Article

Image may be NSFW.
Clik here to view.

A Quick Guide to Maven Wrapper

1. Overview The Maven Wrapper is an excellent choice for projects that need a specific version of Maven (or for users that don’t want to install Maven at all). Instead of installing many versions of...

View Article

Image may be NSFW.
Clik here to view.

Spring Security 5 – OAuth2 Login

1. Overview Spring Security 5 introduces a new OAuth2LoginConfigurer class that we can use for configuring an external authorization server. In this article, we’ll explore some of the various...

View Article


Image may be NSFW.
Clik here to view.

Integration Guide for Spring and EJB

1. Overview In this article, we’ll show how to integrate Spring and remote Enterprise Java Beans (EJB). To do this, we’ll create some EJBs and the necessary remote interfaces, and then we’ll run them...

View Article

Image may be NSFW.
Clik here to view.

Try-with-resources in Kotlin

1. Introduction Managed languages, such as those targeting the JVM, automatically handle the most common resource: memory. However, we need to deal with all kinds of resources, not just memory: files,...

View Article


Image may be NSFW.
Clik here to view.

Writing a Jenkins Plugin

1. Overview Jenkins is an open-source Continuous Integration server, which enables to create a custom plugin creation for particular task/environment. In this article, we’ll go through the whole...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 212

Here we go… 1. Spring and Java >> Creating a Kotlin DSL for validation [blog.sourced-bvba.be] DSLs can be powerful in Kotlin – especially when they leverage reified generics. >> Spring,...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Spring Method Security

1. Introduction Simply put, Spring Security supports authorization semantics at the method level. Typically, we could secure our service layer by, for example, restricting which roles are able to...

View Article

Image may be NSFW.
Clik here to view.

A Guide to JavaLite – Building a RESTful CRUD application

1. Introduction JavaLite is a collection of frameworks for simplifying common tasks that every developer has to deal with when building applications. In this tutorial, we’re going to take a look at...

View Article

Image may be NSFW.
Clik here to view.

Using JWT with Spring Security OAuth

1. Overview In this tutorial we’ll discuss how to get our Spring Security OAuth2 implementation to make use of JSON Web Tokens. We’re also continuing to built on top of the previous article in this...

View Article
Browsing all 4535 articles
Browse latest View live


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