Blog: mscharhag (Michael Scharhag)

228 blogs updated: 39 min. ago
Media types and the Content-Type header
A Media type (formerly known as MIME type) is an identifier for file formats and format contents. Media types are used by different internet...
06-10-2021 21:52:10 mscharhag (Michael Scharhag) Advanced
From layers to onions and hexagons
In this post we will explore the transition from a classic layered software architecture to a hexagonal architecture. The hexagonal architec...
20-09-2021 18:33:57 mscharhag (Michael Scharhag) Advanced
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

© 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