Blog: mscharhag (Michael Scharhag)

206 blogs updated: 36 min. ago
Composing custom annotations with Spring
Java Annotations were introduced with Java 5 back in 2004 as a way to add meta data into Java source code. Today many major frameworks like ...
23-02-2020 18:04:28 mscharhag (Michael Scharhag) Advanced
REST / HTTP methods: POST vs. PUT vs. PATCH
Each HTTP request consists of a method (sometimes called verb) that indicates the action to be performed on the identified resource. When bu...
12-02-2020 21:20:53 mscharhag (Michael Scharhag) Advanced
HTTP methods: Idempotency and Safety
Idempotency and safety are properties of HTTP methods. The HTTP RFC defines these properties and tells us which HTTP methods are safe and id...
09-02-2020 22:38:45 mscharhag (Michael Scharhag) Advanced
Validating code and architecture constraints with ArchUnit
Introduction ArchUnit is a library for checking Java code against a set of self defined code and architecture constraints. These constraints...
01-02-2020 16:21:58 mscharhag (Michael Scharhag) Advanced
Creating an API Gateway with Zuul and Spring Boot
Introduction When working with micro services it is common to have unified access-point to your system (also called API Gateway). Consumers ...
23-01-2020 22:56:21 mscharhag (Michael Scharhag) Advanced
Method parameter validation with Spring and JSR 303
Spring provides an easy way to validate method parameters using JSR 303 bean validation. In this post we will see how to use this feature. S...
06-01-2020 22:47:22 mscharhag (Michael Scharhag) Advanced
Collecting application metrics with Micrometer
What is Micrometer? Micrometer is a simple facade for collecting metrics inside Java applications in a vendor neutral way. You can think of ...
11-12-2019 20:10:27 mscharhag (Michael Scharhag) Advanced
Be aware that bcrypt has a maximum password length
bcrypt is a popular password hashing function these days. Other than standard hash functions (like SHA-515), bcrypt is designed to be slow a...
05-03-2017 23:08:04 mscharhag (Michael Scharhag) Advanced
Java EE 8 MVC: Global exception handling
In the previous previous posts we learned about various ways to access request information (e.g. query or path parameters) in Java EE MVC. T...
27-04-2016 18:17:11 mscharhag (Michael Scharhag) Advanced
Simplifying nested loops with Java 8 Lambdas
This is just a quick tip for everyone who often has to work with multi dimensional arrays in Java 8 (or newer). In this case you might often...
03-04-2016 20:29:00 mscharhag (Michael Scharhag) Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.