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

Image may be NSFW.
Clik here to view.

Java 10 LocalVariable Type-Inference

1. Overview One of the most visible enhancements in JDK 10 is type inference of local variables with initializers. This tutorial provides the details of this feature with examples. 2. Introduction...

View Article


Image may be NSFW.
Clik here to view.

Java 10 Performance Improvements

1. Overview In this quick tutorial, we will discuss the performance improvements that come along with the latest Java 10 release. These improvements apply to all applications running under JDK 10,...

View Article


Image may be NSFW.
Clik here to view.

Interoperability Between Java and Vavr

1. Overview As Vavr primarily works within the Java ecosystem, there’s always a need to convert Vavr’s data structures into Java-understandable data structures. For example, consider a function which...

View Article

Image may be NSFW.
Clik here to view.

Java Optional – orElse() vs orElseGet()

1. Introduction The API of Optional typically has two methods that can cause confusion: orElse() and orElseGet(). In this quick tutorial, we’ll look at the difference between those two and explore...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 229

Here we go… 1. Spring and Java >> Monitor and troubleshoot Java applications and services with Datadog Optimize performance with end-to-end tracing and out-of-the-box support for popular Java...

View Article


Image may be NSFW.
Clik here to view.

Variable and Method Hiding in Java

1. Introduction In this tutorial, we’re going to learn about variable and method hiding in the Java language. First, we’ll understand the concept and purpose of each of these scenarios. After that,...

View Article

Image may be NSFW.
Clik here to view.

Deploy a Spring Boot WAR into a Tomcat Server

1. Introduction Spring Boot is a convention over configuration framework that allows us to set up a production-ready setup of a Spring project, and Tomcat is one of the most popular Java Servlet...

View Article

Image may be NSFW.
Clik here to view.

Sending SMS in Java with Twilio

1. Introduction Sending SMS messages is a big part of many modern applications. There are a variety of uses cases that SMS messages can serve: two-factor authentication, real-time alerts, chatbots,...

View Article


Image may be NSFW.
Clik here to view.

Uploading Files with Servlets and JSP

1. Introduction In this quick tutorial, we’ll see how to upload a file from a servlet. To achieve this, we’ll first see the vanilla Java EE solution with file upload capabilities provided by native...

View Article


Image may be NSFW.
Clik here to view.

Access Modifiers in Java

1. Overview In this tutorial, we’re going over access modifiers in Java, which are used for setting the access level to classes, variables, methods, and constructors. Simply put, there are four access...

View Article

Image may be NSFW.
Clik here to view.

Singleton Session Bean in Java EE

1. Overview Whenever a single instance of a Session Bean is required for a given use-case, we can use a Singleton Session Bean. In this tutorial, we’re going to explore the this through an example,...

View Article

Image may be NSFW.
Clik here to view.

Programmatic Configuration with Log4j 2

1. Introduction In this tutorial, we’ll take a look at different ways to programmatically configure Apache Log4j 2. 2. Initial Setup To start using Log4j 2, we merely need to include the log4j-core...

View Article

Image may be NSFW.
Clik here to view.

Using Lombok’s @Builder Annotation

1. Overview Project Lombok’s @Builder is a useful mechanism for using the Builder pattern without writing boilerplate code. We can apply this annotation to a Class or a method. In this brief tutorial,...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Java Microservices with MSF4J

1. Overview In this tutorial, we’ll showcase microservices development using the MSF4J framework. This is a lightweight tool which provides an easy way to build a wide variety of services focused on...

View Article

Image may be NSFW.
Clik here to view.

NaN in Java

1. Overview Simply put, NaN is a numeric data type value which stands for “not a number”. In this quick tutorial, we’ll explain the NaN value in Java and the various operations that can produce or...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 230

Here we go… 1. Spring and Java >> Java & Docker: Java 10 improvements strengthen the friendship! [aboullaite.me] Java 10 is finally fully suitable for working with Docker >> Metrics...

View Article

Image may be NSFW.
Clik here to view.

Guide to Java 10

1. Introduction JDK 10, which is an implementation of Java SE 10, was released on March 20, 2018. In this article, we’ll cover and explore the new features and changes introduced in JDK 10. 2. Local...

View Article


On Kotlin

Overview >> Introduction to the Kotlin Language Core Concepts >> Comprehensive Guide to Null Safety in Kotlin >> Guide to the “when{}” Block in Kotlin >> Try-with-resources in...

View Article

Guide to JNI (Java Native Interface)

1. Introduction As we know, one of the main strengths of Java is its portability – meaning that once we write and compile code, the result of this process is platform-independent bytecode. Simply put,...

View Article

Spring Boot Configuration with Jasypt

1. Introduction Jasypt (Java Simplified Encryption) Spring Boot provides utilities for encrypting property sources in Boot applications. In this article, we’ll discuss how we can add...

View Article
Browsing all 3566 articles
Browse latest View live


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