Blog: mscharhag (Michael Scharhag)

226 blogs updated: 74 min. ago
File down- and uploads in RESTful web services
Usually we use standard data exchange formats like JSON or XML with REST web services. However, many REST services have at least some operat...
28-07-2021 21:47:03 mscharhag (Michael Scharhag) Advanced
Kotlin: Type conversion with adapters
In this post we will learn how we can use Kotlin extension functions to provide a simple and elegant type conversion mechanism. Maybe you ha...
27-06-2021 21:36:31 mscharhag (Michael Scharhag) Advanced
Making POST and PATCH requests idempotent
In an earlier post about idempotency and safety of HTTP methods we learned that idempotency is a positive API feature. It helps making an AP...
13-06-2021 18:17:12 mscharhag (Michael Scharhag) Advanced
Providing useful API error messages with Spring Boot
For API users it is quite important an API provides useful error messages. Otherwise, it can be hard to figure out why things do not work. D...
31-05-2021 00:26:24 mscharhag (Michael Scharhag) Advanced
Supporting bulk operations in REST APIs
Bulk (or batch) operations are used to perform an action on more than one resource in single request. This can help reduce networking overhe...
03-05-2021 17:21:34 mscharhag (Michael Scharhag) Advanced
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

© 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