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

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 201

Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Learning Java with jshell [javaspecialists.eu] A Quick intro of JShell makes it possible to explore Java...

View Article


Image may be NSFW.
Clik here to view.

Making Tomcat UTF-8-Ready

1. Introduction UTF-8 is the most common character encoding used in web applications. It supports all languages currently spoken in the world including Chinese, Korean, and Japanese. In this article,...

View Article


Image may be NSFW.
Clik here to view.

Activiti with Spring Security

1. Overview Activiti is an open-source BPM (Business Process Management) system. For an introduction, check our Guide to Activiti with Java. Both Activiti and the Spring framework provide their own...

View Article

Image may be NSFW.
Clik here to view.

JUnit 5 for Kotlin Developers

1. Introduction The newly released JUnit 5 is the next version of the well-known testing framework for Java. This version includes a number of features that specifically target functionality...

View Article

Image may be NSFW.
Clik here to view.

Hibernate – Mapping Date and Time

1. Introduction In this article, we’ll show how to map temporal column values in Hibernate, including the classes from java.sql, java.util and java.time packages. 2. Project Setup To demonstrate the...

View Article


Image may be NSFW.
Clik here to view.

A Guide to Spring Boot Admin

1. Overview Spring Boot Admin is a web application, used for managing and monitoring Spring Boot applications. Each application is considered as a client and registers to the admin server. Behind the...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Spring AOP

1. Introduction In this tutorial, we’ll introduce AOP (Aspect Oriented Programming) with Spring and start understanding how we can start using this powerful tool in practical scenarios. It’s also...

View Article

Image may be NSFW.
Clik here to view.

JUnit5 @RunWith

1. Introduction In this quick article, we’ll cover the usage of the @RunWith annotation in the JUnit 5 framework. In JUnit 5, the @RunWith annotation has been replaced by the more powerful @ExtendWith...

View Article


Image may be NSFW.
Clik here to view.

Guide to Spring Type Conversions

1. Introduction In this article, we’ll have a look at Spring’s type conversions. Spring provides out-of-the-box various converters for built-in types; this means converting to/from basic types like...

View Article


Image may be NSFW.
Clik here to view.

Groovy Bean Definitions

1. Overview In this quick article, we’ll focus on how we can use a Groovy-based configuration in our Java Spring projects. 2. Dependencies Before we start, we need to add the dependency to our pom.xml...

View Article

Image may be NSFW.
Clik here to view.

Mocking of Private Methods Using PowerMock

1. Overview One of the challenges of unit testing is mocking private methods. In this tutorial, we’ll learn about how we can achieve this by using the PowerMock library – which is supported by JUnit...

View Article

Image may be NSFW.
Clik here to view.

A Quick Guide to Using Keycloak with Spring Boot

1. Overview In this article, we’ll cover the basics of setting up a Keycloak server, how to connect a Spring Boot application to it, and how to use it with Spring Security. 2. What is Keycloak?...

View Article

Image may be NSFW.
Clik here to view.

XML-Based Injection in Spring

1. Introduction In this basic tutorial, we’ll learn how to do simple XML-based bean configuration with the Spring Framework. 2. Overview Let’s start by adding Spring’s library dependency in the...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 202

Here we go… 1. Spring and Java >> New Version Scheme for Java SE Platform and the JDK [infoq.com] The details of the next version scheme for Java. >> How to Implement Conditional Auditing...

View Article

Image may be NSFW.
Clik here to view.

An Overview of Identifiers in Hibernate

1. Introduction Identifiers in Hibernate represent the primary key of an entity. This implies the values are unique so that they can identify a specific entity, that they aren’t null and that they...

View Article


Image may be NSFW.
Clik here to view.

Quick Guide to Java Stack

1. Overview In this article, we’ll introduce the java.util.Stack class and start looking at how we can make use of it.  The Stack is a generic data structure which represents a LIFO (last in, first...

View Article

Image may be NSFW.
Clik here to view.

Generating Prime Numbers in Java

1. Introduction In this tutorial, we’ll show various ways in which we can generate prime numbers using Java. If you’re looking to check if a number is prime – here’s a quick guide on how to do that....

View Article


Image may be NSFW.
Clik here to view.

Creating a Java Compiler Plugin

1. Overview Java 8 provides an API for creating Javac plugins. Unfortunately, it’s hard to find good documentation for it. In this article, we’re going to show the whole process of creating a compiler...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Spring REST Shell

1. Overview In this article, we’ll have a look at Spring REST Shell and some of its features. It’s a Spring Shell extension so we recommend reading about it first. 2. Introduction The Spring REST...

View Article

Image may be NSFW.
Clik here to view.

Deploy Application at Tomcat Root

1. Overview In this quick article, we’ll discuss deploying a web application at the root of a Tomcat. 2. Tomcat Deployment Basics and Terminology First, the basics of deploying an application to...

View Article
Browsing all 4535 articles
Browse latest View live


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