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

Image may be NSFW.
Clik here to view.

CORS in JAX-RS

1. Overview In this quick article, we’ll learn about how to enable CORS (Cross-Origin Resource Sharing) in a JAX-RS based system. We’ll set up an application on top of JAX-RS to enable CORS mechanism....

View Article


Image may be NSFW.
Clik here to view.

Validating Input with Finite Automata in Java

1. Overview If you’ve studied CS, you’ve undoubtedly taken a course about compilers or something similar; in these classes, the concept of Finite Automaton (also known as Finite State Machine) is...

View Article


Image may be NSFW.
Clik here to view.

Introduction to TestNG

1. Overview In this article, we’ll introduce the TestNG testing framework. We’ll focus on: framework setup, writing simple test case and configuration, test execution, test reports generation, and...

View Article

Image may be NSFW.
Clik here to view.

A Guide to the Java Web Start

1. Overview This article explains what Java Web Start (JWS) is, how to configure it on the server side, and how to create a simple application. 2. Introduction JWS is a runtime environment that comes...

View Article

Image may be NSFW.
Clik here to view.

Introduction to the Functional Web Framework in Spring 5

1. Introduction One of the main new features of Spring 5 will be a new Functional Web Framework built using reactive principles. In this article, we’ll have a look on how it looks like in practice. 2....

View Article


Image may be NSFW.
Clik here to view.

Guide to Java 8 Comparator.comparing()

1. Overview Java 8 introduced several enhancements to the Comparator interface, including a handful of static functions that are of great utility when coming up with a sort order for collections. Java...

View Article

Image may be NSFW.
Clik here to view.

Comprehensive Guide to Null Safety in Kotlin

1. Overview In this article, we’ll be looking at the null safety features built into the Kotlin language. Kotlin provides comprehensive, native handling of nullable fields –  no additional libraries...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 170

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Java Finalization to be Deprecated? [infoq.com] It looks like Object.finalize() might be getting deprecated....

View Article


Image may be NSFW.
Clik here to view.

A Guide to GemFire with Spring Data

1. Overview GemFire is a high performance distributed data management infrastructure that sits between application cluster and back-end data sources. With GemFire, data can be managed in-memory, which...

View Article


Image may be NSFW.
Clik here to view.

Exploring the Spring Boot TestRestTemplate

1. Overview This article explores the Spring Boot TestRestTemplate. It can be treated as a follow-up of The Guide to RestTemplate, which we firmly recommend to read before focusing on...

View Article

Image may be NSFW.
Clik here to view.

Map Serialization and Deserialization with Jackson

1. Overview In this article, we’ll look at serialization and deserialization of Java maps using Jackson. We’ll illustrate how to serialize and deserialize Map<String, String>, Map<Object,...

View Article

Image may be NSFW.
Clik here to view.

A CLI with Spring Shell

1. Overview Simply put, the Spring Shell project provides an interactive shell for processing commands and building a full-featured CLI using the Spring programming model. In this article, we’ll...

View Article

Image may be NSFW.
Clik here to view.

Implementing a Custom Spring AOP Annotation

1. Introduction In this article, we’ll implement a custom AOP annotation using the AOP support in Spring. First, we’ll give a high-level overview of AOP, explaining what it is and its advantages....

View Article


Image may be NSFW.
Clik here to view.

Ratpack Google Guice Integration

1. Overview In our earlier article, we’ve shown how building scalable applications using Ratpack looks like. In this tutorial, we will discuss further on how to use Google Guice with Ratpack as...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Vert.x

1. Overview In this article, we’ll discuss Vert.x, cover its core concepts and create a simple RESTfull web service with it. We’ll start by covering the foundation concepts about the toolkit, slowly...

View Article


Image may be NSFW.
Clik here to view.

Create a Custom FailureAnalyzer with Spring Boot

1. Overview A FailureAnalyzer in Spring Boot offers a way to intercept exceptions that occur during the startup of an application causing an application startup failure. The FailureAnalyzer replaces...

View Article

Image may be NSFW.
Clik here to view.

List of In-Memory Databases

1. Overview In-memory databases rely on system memory as opposed to disk space for storage of data. Because memory access is faster than disk access, these databases are naturally faster. Of course,...

View Article


Image may be NSFW.
Clik here to view.

Hibernate Tips Book Excerpt: How to Map an Inheritance Hierarchy to One Table

1. Introduction Inheritance is one of the key concepts in Java. So, it’s no surprise that most domain models use it. But unfortunately, this concept doesn’t exist in relational databases, and you need...

View Article

Image may be NSFW.
Clik here to view.

An Intro to the Spring State Machine Project

1. Introduction This article is focused on Spring’s State Machine project – which can be used to represent workflows or any other kind of finite state automata representation problems. 2. Maven...

View Article

Image may be NSFW.
Clik here to view.

Spring MVC Custom Validation

1. Overview Generally, when we need to validate user input, Spring MVC offers standard predefined validators. However, when we need to validate a more particular type input, we have the possibility of...

View Article
Browsing all 3610 articles
Browse latest View live


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