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

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

Image may be NSFW.
Clik here to view.

Custom Information in Spring Boot Info Endpoint

1. Overview In this quick article, we’ll have a look at how to customize the Spring Boot Actuators’ /info endpoint. Please refer to this article to learn more about actuators in Boot and how to...

View Article

Image may be NSFW.
Clik here to view.

Custom Scope in Spring

1. Overview Out of the box, Spring provides two standard bean scopes (“singleton” and “prototype”) that can be used in any Spring application, plus three additional bean scopes (“request”, “session”,...

View Article

Image may be NSFW.
Clik here to view.

Guide to Reactive Microservices Using Lagom Framework

1. Overview In this article, we’ll explore the Lagom framework and implement an example application using a reactive microservices driven architecture. Simply put, reactive software applications rely...

View Article


Image may be NSFW.
Clik here to view.

Introduction to JaVers

1. Overview  In this article, we will be looking at the JaVers library. This library helps programmers examine and detect changes in the states of simple Java objects. When we use mutable objects in...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 171

Here we go… 1. Spring and Java >> The Java in 2017 Survey [docs.google.com] I’m running my yearly Java “State of the Union” survey for 2017. Please take a few seconds to vote. >> Memory...

View Article


Image may be NSFW.
Clik here to view.

Cucumber and Scenario Outline

1. Introduction Cucumber is a BDD (Behavioral Driven Development) testing framework. Using the framework to write repetitive scenarios with different permutations of inputs/outputs can be quite...

View Article

Image may be NSFW.
Clik here to view.

Flattening Nested Collections in Java

1. Overview In this quick article, we’ll explore how to flatten a nested collection in Java. 2. Example of a Nested Collection Suppose we have a list of lists of type String....

View Article


Image may be NSFW.
Clik here to view.

Check If a Number Is Prime in Java

1. Introduction First, let’s go over same basic theory. Simply put, a number is prime if it’s only divisible by one and by the number itself. The non-prime numbers are called composite numbers. And...

View Article

Image may be NSFW.
Clik here to view.

JasperReports with Spring

1. Overview JasperReports is an open source reporting library that enables users to create pixel-perfect reports that can be printed or exported in many formats including PDF, HTML, and XLS. In this...

View Article

Image may be NSFW.
Clik here to view.

Java in 2017 Survey Results

We've been running the "State of Java" survey for many year now - to get a good read of the state of the Java ecosystem. Last year, 2250 Java developers decided to take the time to answer the...

View Article
Browsing all 4621 articles
Browse latest View live


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