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

Java Flow Control Interview Questions (+ Answers)

1. Introduction Control flow statements allow developers to use decision making, looping and branching to conditionally change the flow of execution of particular blocks of code. In this article,...

View Article


An Introduction to ThreadLocal in Java

1. Overview In this article, we will be looking at the ThreadLocal construct from the java.lang package. This gives us the ability to store data individually for the current thread – and simply wrap...

View Article


JVM Log Forging

1. Overview In this quick article, we’ll explore one of the most common security issues in JVM world – Log Forging. We’ll also show an example technique that can protect us from this security concern....

View Article

Introduction to Apache Flink with Java

1. Overview Apache Flink is a Big Data processing framework that allows programmers to process the vast amount of data in a very efficient and scalable manner. In this article, we’ll introduce some of...

View Article

Java Exceptions Interview Questions (+ Answers)

1. Overview Exceptions are an essential topic that every Java developer should be familiar with. This article provides answers to some of the questions that might pop up during an interview. 2....

View Article


Guide to sun.misc.Unsafe

1. Overview In this article, we’ll have a look at a very interesting class provided by the JDK – Unsafe from the sun.misc package. This class provides us with low-level mechanisms that were designed...

View Article

JVM Garbage Collectors

1. Overview In this quick tutorial, we will show the basics of different JVM Garbage Collection (GC) implementations. Additionally, we’ll find out how to enable a particular type of Garbage Collection...

View Article

Image may be NSFW.
Clik here to view.

A Guide to MyBatis

1. Introduction MyBatis is an open source persistence framework which simplifies the implementation of database access in Java applications. It provides the support for custom SQL, stored procedures...

View Article


Image may be NSFW.
Clik here to view.

Creating a Custom Starter with Spring Boot

1. Overview The core Spring Boot developers provide starters for most of the popular open source projects, but we are not limited to these. We can also write our own custom starters. If we have an...

View Article


Image may be NSFW.
Clik here to view.

Generics in Kotlin

1. Overview In this article, we will be looking at the generic types in the Kotlin language. They are very similar to those from the Java language, but the Kotlin language creators tried to make them...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Groovy Language

1. Overview Groovy is a dynamic, scripting language for the JVM. It compiles to bytecode and blends seamlessly with Java code and libraries. In this article, we’re going to take a look some of the...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 173

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Spring Tips: Season 2 Recap [spring.io] A summary of the Spring Tips series, including integrations with jOOQ,...

View Article

Image may be NSFW.
Clik here to view.

A Guide to Java EE Web-Related Annotations

1. Overview Java EE annotations make developers’ life easier by allowing them to specify how application components should behave in a container. These are modern alternatives for XML descriptors and...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Apache Commons Math

1. Overview We’re frequently in need of using mathematical tools, and sometimes java.lang.Math is simply not enough. Fortunately, Apache Commons has the goal of filling in the leaks of the standard...

View Article

Image may be NSFW.
Clik here to view.

A Quick Guide to Spring @Value

1. Overview In this quick article, we’re going to have a look at the @Value Spring annotation. This annotation can be used for injecting values into fields in Spring-managed beans and it can be...

View Article


Image may be NSFW.
Clik here to view.

RabbitMQ Message Dispatching with Spring AMQP

1. Introduction In this article, we’ll explore the concept of fanout and topic exchanges with Spring AMQP and RabbitMQ. At a high level, fanout exchanges will broadcast the same message to all bound...

View Article

Image may be NSFW.
Clik here to view.

Spring Remoting with AMQP

1. Overview We saw in the previous installments of the series how we can leverage Spring Remoting and the related technologies to enable synchronous Remote Procedure Calls on top of an HTTP channel...

View Article


Image may be NSFW.
Clik here to view.

Create a Custom Auto-Configuration with Spring Boot

1. Overview Simply put, the Spring Boot autoconfiguration represents a way to automatically configure a Spring application based on the dependencies that are present on the classpath. This can make...

View Article

Image may be NSFW.
Clik here to view.

A Guide to Java SynchronousQueue

1. Overview In this article, we’ll be looking at the SynchronousQueue from the java.util.concurrent package. Simply put, this implementation allows us to exchange information between threads in a...

View Article

Image may be NSFW.
Clik here to view.

Logout in a OAuth Secured Application

1. Overview In this quick tutorial, we’re going to show how we can add logout functionality to an OAuth Spring Security application. We’ll, of course, use the OAuth application described in a previous...

View Article
Browsing all 3610 articles
Browse latest View live


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