How to return a custom 404 or 410 with Spring Boot

How to create a custom error page in Spring Boot and fix the Whitelabel error page / 2022-01-14

How to reverse a String in Java

How to reverse a String in Java, for the interview and the fun / 2022-01-11

Spring Boot error message: Failed to configure a DataSource

Why this error appears and how to solve it / 2022-01-05

Generate a sitemap with Java

Generate a sitemap with Java for your Website. / 2022-01-04

Java 17: Map.Entry.copyOf

A new function introduced in Java 17 / 2022-01-04

Spring Boot and MongoDB example

How to connect Spring Boot to MongoDB / 2022-01-04

Eclipse setup for Java Development

First steps after installing Eclipse / 2022-01-01

Apache NetBeans - clear the cache and rebuild maven idexes

Sometimes a cleanup can fix IDE issues / 2021-12-30

How to use PostgreSQL with WildFly and JBoss

Tutorial: Configuring PostgreSQL in WildFly and JBoss / 2021-12-28

Log4j - How to protect my application?

Is my application vulnerable? Which version should I use? Is Spring Boot impacted? / 2021-12-16

How to hot deploy a Spring Boot application

Hot deployment with Spring Boot? It is possible! / 2021-12-06

Maven - How to skip unit tests in Java

How to correctly skip tests in Maven / 2021-11-30

How to convert an array of bytes to a String in Java

How to convert byte[] to String and vice versa / 2021-11-30

Spring Boot: How do I execute my code on startup?

Spring Boot: How do I execute my code on startup? / 2021-11-24

Maven: install on mac. Tutorial for brew and the official method.

How to install Maven on mac using brew, tutorial using macOS Monterey - M1 / 2021-11-24

Spring: test your MySQL JPA with H2

How to test your repository using H2 when you use MySQL in production. / 2021-03-21

Fix the Whitelabel error in Angular and Spring Boot

How to solve the Whitelabel Error when a Javascript (React, Angular) application is deployed with Spring Boot / 2021-03-05

Add Grafana to your Spring / Quarkus application using Jelastic

Tutorial: add Grafana and Prometheus to a Spring Boot / Quarkus app using Jelastic / 2021-02-14

What is new and cool in Java

Java 8 -> Java 16 new features / 2021-01-21

Spring Boot redirect and HTTP 301

Migration from Jekyll to Spring Boot / 2021-01-21

Spring Boot MariaDB connection and issues

How to connect Spring Boot to MariaDB / 2021-01-21

MariaDB root password error

How to solve the error 1064 (42000) when you install MariaDB / 2021-01-21

MariaDB root password error

Solve the Access Denied for User root@localhost error / 2021-01-21

Java sealed classes - Quick intro

Sealed classes - Java 15 new feature / 2020-10-29

Java Text Blocks - Quick intro

Text blocks - Java 15 new feature / 2020-10-29

Java 16

Java 16 new features / 2020-10-28

Java test preview features

Java test preview features / 2020-10-27

Java 15

Java 15 new features / 2020-10-27

Maven: find a package

Search a dependency in a maven tree / 2020-07-15

Preview the new features in Java

How to use preview features in Java / 2020-01-23

Java Records

Records in Java 14 / 2020-01-23

Artificial Intelligence for Java: resources

AI and ML resources for Java developers / 2019-11-24

Java 14 new features

Whats new in Java 14 / 2019-11-19

Angular and Java Setup on Mac

Quick and easy install Java and Angular / 2019-11-17

Garbage collectors for the busy Java developer (10 min, no maths ;))

JavaZone: GC quick introduction / 2019-10-01

Teeing Collector

Teeing Collector examples. A Java 12 new feature! / 2019-03-23

Calculate the difference between two dates in Java

Count the days between two dates / 2019-02-11

Initialize a HashMap in Java - Best practices

HashMap initialization and best practices / 2019-01-10

Difference between protected and default/package access in Java

Visual memo of the access modifiers and controls / 2019-01-05

Configure nginx in Jelastic

Use compression with nginx / 2019-01-05

Deploy a WAR as root in WildFly

Deploy to / / 2019-01-04

Create a list of objects from a file using lambda expressions

Read the file, create and sort the object list / 2019-01-04

Config files in Java EE / Jakarta EE using MicroProfile

How to store the configuration in external files? / 2018-11-14

Spring common annotations meaning

What is this annotation doing in the code? / 2018-11-06

Blockchain: How to generate a SHA-256 hash with Java

Blockchain: How to generate a SHA-256 hash with Java / 2018-10-25

The final keyword in Java

The final keyword doesnt guarantee the immutabily of your objects. Its really performant? / 2018-10-03

Whats new in Java 11

Here some of the new features of Java 11 with a direct impact on the daily development activity. / 2018-09-15

The price of Java 11

OpenJDK 11 is free, for OracleJDK you have to pay for production environments. More details here. / 2018-09-01

Spring Boot logging level

How to change the level of output / 2018-08-30

Spring Integration mail

How to send email using Spring Integration and create smtp unit tests / 2018-08-11

How to deploy a Spring Boot application with Docker

Simple deploy of your Spring Boot app / 2018-04-30

Comment déployer une application web en Java et Angular dans un seul artéfact JAR ou WAR

‘Comment configurer une application Angular et Spring Boot Full-Stack’ / 2018-04-26

How to deploy a Java and Angular webapp in one JAR/WAR

How to configure a fullstack Angular and Spring Boot application / 2018-04-26

Spring Boot best practices

Some tips for your Spring development / 2018-01-01

Spring Boot, Caching and Hazelcast

How to add caching features with Hazelcast / 2017-11-20

Spring Boot: REST controller Test example

How to test the @RestController with Spring / 2017-10-01

Build, test and deploy with Jenkins

One click deploy your Java application (Java EE, Spring) / 2017-09-17

Create Cross-Origin requests (CORS)

How to allow communication between your Angular frontend and the Java Backend / 2017-07-13

Spring Boot, React, Hello World tutorial

The Spring Boot - React tutorial is coming / 2017-07-11

REST and Spring Boot: manage users rights with a custom Filter and properties

Simple solution when only few users have writing rights. / 2017-07-08

Java EE 8 - CDI 2.0: Events and Observers

Java EE 8 - CDI 2.0: Events and Observers / 2017-04-19

How to run java program in cmd

Start a java program from the command line / 2016-07-15

Java Threads meaning

/ 2016-04-21

marco.dev newsletter

Be the coolest developer in your team joining our community!