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

Image may be NSFW.
Clik here to view.

Using Custom Banners in Spring Boot

1. Overview By default, Spring Boot comes with a banner which shows up as soon as the application starts. In this article, we’ll learn how to create a custom banner and use it in Spring Boot...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Ratpack

1. Overview Ratpack is a set of JVM based libraries built for modern days high-performance real-time applications. It’s built on top of embedded Netty event-driven networking engine and is fully...

View Article


Image may be NSFW.
Clik here to view.

Testing an OAuth Secured API with the Spring MVC Test Support

1. Overview In this article, we’re going to show how we can test an API which is secured using OAuth with the Spring MVC test support. 2. Authorization and Resource Server For a tutorial on how to...

View Article

Image may be NSFW.
Clik here to view.

Guide to Internationalization in Spring Boot

1. Overview In this quick tutorial, we’re going to take a look at how we can add internationalization to a Spring Boot application. 2. Maven Dependencies For development, we need the following...

View Article

Image may be NSFW.
Clik here to view.

Introduction to JiBX

1. Overview JiBX is a tool for binding XML data to Java objects. It provides solid performance compared to other common tools such as JAXB. JiBX is also quite flexible when compared to other Java-XML...

View Article


Image may be NSFW.
Clik here to view.

Spring Boot Authentication Auditing Support

1. Overview In this short article, we’ll explore the Spring Boot Actuator module and the support for publishing authentication and authorization events in conjunction with Spring Security. 2. Maven...

View Article

Image may be NSFW.
Clik here to view.

Property Testing Example With Javaslang

1. Overview In this article, we’ll be looking at the concept of Property Testing and its implementation in the javaslang-test library. The Property based testing (PBT) allows us to specify the...

View Article

Image may be NSFW.
Clik here to view.

Form Validation with AngularJS and Spring MVC

1. Overview Validation is never quite as straightforward as we expect. And of course validating the values entered by a user into an application is very important for preserving the integrity of our...

View Article


Image may be NSFW.
Clik here to view.

New Stream, Comparator and Collector Functionality in Guava 21

1. Introduction This article is first in the series about the new features launched with Version 21 of the Google Guava library. We’ll discuss newly added classes and some major changes from previous...

View Article


Image may be NSFW.
Clik here to view.

Introduction to JSONassert

1. Overview In this article, we’ll have a look at the JSONAssert library – a library focused on understanding JSON data and writing complex JUnit tests using that data. 2. Maven Dependency First,...

View Article

Image may be NSFW.
Clik here to view.

Java Web Weekly, Issue 169

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> A Nice API Design Gem: Strategy Pattern With Lambdas [jooq.org] The introduction of lambda expressions and...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Testing with Spock and Groovy

1. Introduction In this article, we’ll take a look at Spock, a Groovy testing framework. Mainly, Spock aims to be a more powerful alternative to the traditional JUnit stack, by leveraging Groovy...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Project Jigsaw

1. Introduction Project Jigsaw is an umbrella project with the new features aimed at two aspects: the introduction of module system in the Java language and its implementation in JDK source and Java...

View Article


Image may be NSFW.
Clik here to view.

Jackson Streaming API

1. Overview In this article, we will be looking at the Jackson Streaming API. It supports both reading and writing, and by using it, we can write high-performance and fast JSON parsers. On the...

View Article

Image may be NSFW.
Clik here to view.

Returning an Image or a File with Spring

1. Overview Serving static files to the client can be done in a variety of ways, and using a Spring Controller isn’t necessarily the best available option. However, sometimes the controller route is...

View Article


Image may be NSFW.
Clik here to view.

Intro to JHipster

1. Introduction This article will give you a quick overview of JHipster, show you how to create a simple monolithic application and custom entities using command line tools. We will also examine the...

View Article

Image may be NSFW.
Clik here to view.

Intro to Apache Kafka with Spring

1. Overview Apache Kafka is distributed and fault-tolerant stream processing system. In this article, we’ll cover Spring support for Kafka and the level of abstractions it provides over native Kafka...

View Article


Image may be NSFW.
Clik here to view.

HTTP PUT vs HTTP PATCH in a REST API

1. Overview In this quick article, we’re looking at differences between the HTTP PUT and PATCH verbs and at the semantics of the two operations. We’ll use Spring to implement two REST endpoints that...

View Article

Image may be NSFW.
Clik here to view.

Full-text Search with Solr

1. Overview In this article, we’ll explore a fundamental concept in the Apache Solr search engine – full-text search. The Apache Solr is an open source framework, designed to deal with millions of...

View Article

Image may be NSFW.
Clik here to view.

Java Generics Interview Questions (+Answers)

1. Introduction In this article, we’ll go through some example Java generics interview questions and answers. Generics are a core concept in Java, first introduced in Java 5. Because of this, nearly...

View Article
Browsing all 3610 articles
Browse latest View live


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