Blog: mscharhag (Michael Scharhag)

222 blogs updated: 28 min. ago
Looking into the JDK 16 vector API
JDK 16 comes with the incubator module jdk.incubator.vector (JEP 338) which provides a portable API for expressing vector computations. In t...
08-04-2021 15:29:30 mscharhag (Michael Scharhag) Advanced
Kotlin dependency injection with Koin
Dependency injection is a common technique in today's software design. With dependency injection we pass dependencies to a component instead...
08-03-2021 09:01:21 mscharhag (Michael Scharhag) Advanced
REST API Design: Dealing with concurrent updates
Concurrency control can be an important part of a REST API, especially if you expect concurrent update requests for the same resource. In th...
18-02-2021 13:43:50 mscharhag (Michael Scharhag) Advanced
Validation in Spring Boot applications
Validation in Spring Boot applications can be done in many different ways. Depending on your requirements some ways might fit better to your...
02-02-2021 23:36:24 mscharhag (Michael Scharhag) Advanced
REST: Partial updates with PATCH
In previous posts we learned how to update/replace resources using the HTTP PUT operation. We also learned about the differences between POS...
17-01-2021 21:55:51 mscharhag (Michael Scharhag) Advanced
HATEOAS without links
Yes, I know this title sounds stupid, but could not find something that fits better. So let me explain why I think that links in HATEOAS API...
01-12-2020 13:33:51 mscharhag (Michael Scharhag) Advanced
Validation in Kotlin: Valiktor
Bean Validation is the Java standard for validation and can be used in Kotlin as well. However, there are also two popular alternative libra...
19-11-2020 13:04:45 mscharhag (Michael Scharhag) Advanced
REST: Sorting collections
When building a RESTful API we often want to give consumers the option to order collections in a specific way (e.g. ordering users by last n...
06-11-2020 17:15:46 mscharhag (Michael Scharhag) Advanced
Improving Spring Mock-MVC tests
Spring Mock-MVC can be a great way to test Spring Boot REST APIs. Mock-MVC allows us to test Spring-MVC request handling without running a r...
02-11-2020 20:54:31 mscharhag (Michael Scharhag) Advanced
REST: Updating resources
When building RESTful APIs over HTTP the PUT method is typically used for updating, while POST is used for creating resources. However, crea...
20-10-2020 14:33:15 mscharhag (Michael Scharhag) Advanced

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení

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

Made better & faster using Java Profiler