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

Image may be NSFW.
Clik here to view.

Guide to @ConfigurationProperties in Spring Boot

1. Introduction One of the handy features of Spring Boot is externalized configuration and easy access to properties defined in properties files. An earlier article described various ways in which...

View Article


Image may be NSFW.
Clik here to view.

An Introduction to Spring Cloud Zookeeper

 1. Introduction In this article, we will get acquainted with Zookeeper and how it’s used for Service Discovery which is used as a centralized knowledge about services in the cloud. Spring Cloud...

View Article


Image may be NSFW.
Clik here to view.

Introduction to the Stripe API for Java

1. Overview Stripe is a cloud-based service that enables businesses and individuals to receive payments over the internet and offers both client-side libraries (JavaScript and native mobile) and...

View Article

Image may be NSFW.
Clik here to view.

Testing in Spring Boot

1. Overview In this article, we’ll have a look at writing tests using the framework support in Spring Boot. We’ll cover unit tests that can run in isolation as well as integration tests that will...

View Article

Image may be NSFW.
Clik here to view.

Guide to the Java TransferQueue

1. Overview In this article, we’ll be looking at the TransferQueue construct from the standard java.util.concurrent package. Simply put, this queue allows us to create programs according to the...

View Article


Image may be NSFW.
Clik here to view.

An Intro to the Spring DispatcherServlet

 1. Introduction Simply put, in the Front Controller design pattern, a single controller is responsible for directing incoming HttpRequests to all of an application’s other controllers and handlers....

View Article

Image may be NSFW.
Clik here to view.

Introduction to JAX-WS

1. Overview Java API for XML Web Services (JAX-WS) is a standardized API for creating and consuming SOAP (Simple Object Access Protocol) web services. In this article, we’ll create a SOAP web service...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Serenity BDD

1. Introduction In this tutorial, we’ll give an introduction to Serenity BDD – a great tool for Behaviour Driven Development (BDD). This is a solution for automated acceptance testing that generates...

View Article


Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 174

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Project Amber: The Future of Java Exposed [takipi.com] The future Java with Local Variable Type Inference,...

View Article


Image may be NSFW.
Clik here to view.

Kotlin Java Interoperability

1. Overview In this tutorial, we’re going to discuss the interoperability between Java and Kotlin. We’re going to cover some basic examples as well as some other more complex scenarios. 2. Setting up...

View Article

Image may be NSFW.
Clik here to view.

HashSet and TreeSet Comparison

1. Introduction In this article, we are going to compare two of the most popular Java implementations of the java.util.Set interface – HashSet and TreeSet. 2. Differences HashSet and TreeSet are...

View Article

Image may be NSFW.
Clik here to view.

Guide to the Most Important JVM Parameters

1. Overview In this quick tutorial, we’ll explore the most well-known options which can be used to configure the Java Virtual Machine. 2. Explicit Heap Memory One of the most common...

View Article

Image may be NSFW.
Clik here to view.

Guide to the ConcurrentSkipListMap

1. Overview In this quick article, we’ll be looking at the ConcurrentSkipListMap class from the java.util.concurrent package. This construct allows us to create thread-safe logic in a lock-free way....

View Article


Image may be NSFW.
Clik here to view.

How to Perform a Simple HTTP Request in Java

1. Overview In this quick tutorial, we’re going to present a way of performing HTTP requests in Java — by using the built-in Java class HttpUrlConnection. 2. HttpUrlConnection The HttpUrlConnection...

View Article

Image may be NSFW.
Clik here to view.

Difference Between Wait and Sleep in Java

1. Overview In this short article, we’ll have a look at the standard sleep() and wait() methods in core Java, and understand the differences and similarities between them. 2. General Differences...

View Article


Image may be NSFW.
Clik here to view.

LongAdder and LongAccumulator in Java

1. Overview In this article, we’ll be looking at two constructs from the java.util.concurrent package: LongAdder and LongAccumulator. Both are created to be very efficient in the multi-threaded...

View Article

Image may be NSFW.
Clik here to view.

Java Annotations Interview Questions (+ Answers)

1. Introduction Annotations have been around since Java 5, and nowadays, they are ubiquitous programming constructs that allow enriching the code. In this article, we’ll review some of the questions,...

View Article


Image may be NSFW.
Clik here to view.

Using Java MappedByteBuffer

1. Overview In this quick article, we’ll be looking at the MappedByteBuffer in the java.nio package. This utility can be quite useful for efficient file reads. 2. How MappedByteBuffer Works When we’re...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Proxies in Java

1. Introduction This article is about Java’s dynamic proxies – which is one of the primary proxy mechanisms available to us in the language. Simply put, proxies are fronts or wrappers that pass...

View Article

Image may be NSFW.
Clik here to view.

How to Copy an Array in Java

1. Overview In this quick article, we’ll discuss different array copying methods in Java. Array copy may seem like a trivial task, but it may cause unexpected results and program behaviors if not done...

View Article
Browsing all 3610 articles
Browse latest View live


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