JAX-RS Done Right! (IX. - Default Entity Providers) -Head Crashing Informatics 21|JAX-RS Tutorial 09

Опубликовано: 03 Июнь 2026
на канале: Markus Karg
134
7

Separating domain logic of the http body handling from technical aspects is easy in JAX-RS thanks to Entity Providers.

In today's episode of "JAX-RS Done Right!" we introduce Separation of Concerns to only have pure domain code in our application when it comes to handling http bodies, while every technical aspect is in separated code. The key for this are Entity Providers (i. e. Renderers and Parsers for a combination of Java Class and Media Type). There even are Default Entity Providers built into JAX-RS, so it is easy to get started with that.

In a future episode, we will extend the concept by intoducing our own Custom Entity Providers.

Code example can be found on Gitlab: https://gitlab.com/mkarg/jaxrs-done-r...

If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon   / mkarg  . Thanks! :-)

Stay safe and... Party on!

#JAX-RS

Contains Sound FX by Mike Koenig: Metal Grinder (Attribution 3.0)

Jewellery: stkarg.design (  / stkarg.design  )

A Peilung 0 Production (   / @peilung0943  )