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

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.

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


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.

Configuring Separate Spring DataSource for Tests

1. Overview When testing a Spring application that relies on a persistence layer, such as JPA, we may want to set up a test data source to use a smaller, faster database – one that is different from...

View Article

Image may be NSFW.
Clik here to view.

Quick Guide to the Java StringTokenizer

1. Overview In this quick article, we’ll explore a fundamental class in Java – the StringTokenizer. 2. StringTokenizer  The StringTokenizer class helps us split Strings into multiple tokens....

View Article

Image may be NSFW.
Clik here to view.

Testing a REST API with JBehave

1. Introduction In this article, we’ll have a quick look at JBehave, then focus on testing a REST API from a BDD perspective. 2. JBehave and BDD JBehave is a Behaviour Driven Development framework. It...

View Article


Image may be NSFW.
Clik here to view.

REST Query Language – Implementing OR Operation

1. Overview In this quick article, we’ll extend the advanced search operations that we implemented in the previous article and include OR-based search criteria into our REST API Query Language. 2....

View Article

Image may be NSFW.
Clik here to view.

Working with an Embedded Jetty Server in Java

1. Overview In this article, we will be looking at the Jetty library. Jetty provides a web server that can run as an embedded container and integrates easily with the javax.servlet library. 2. Maven...

View Article


Introduction to Jenetics Library

1. Introduction The aim of this series is to explain the idea of genetic algorithms and show the most known implementations. In this tutorial, we’ll describe a very powerful Jenetics Java library that...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 172

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Accessing private state of Java 9 modules [in.relation.to] The introduction of modularity to Java 9 sheds new...

View Article


Image may be NSFW.
Clik here to view.

Using @JsonComponent in Spring Boot

1. Overview This quick article is focused on how to use the @JsonComponent annotation in Spring Boot. The annotation allows us to expose an annotated class to be a Jackson serializer and/or...

View Article

Image may be NSFW.
Clik here to view.

Dynamic DTO Validation Config Retrieved from DB

1. Overview In this tutorial, we’re going to take a look at how we can create a custom validation annotation that uses a regular expression retrieved from a database to match against the field value....

View Article

Converters, Listeners and Validators in Java EE 7

1. Overview Java Enterprise Edition (JEE) 7 provides some useful features e.g. for validating user input, converting values into appropriate Java data types. In this tutorial, we’ll focus on those...

View Article
Browsing all 3614 articles
Browse latest View live


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