2 years ago

#57831

test-img

jkroepke

Shim or map javax.ws.rs to jakarta.ws.rs

I'm looking for a shim or proxy to forward calls from javax.ws.rs to jakarta.ws.rs namespace. I have external dependencies which consume javax.ws.rs. In general I'm looking for something what exists in the javascript eco system, like core.js.

RESTeasy 6 recently implement Jakarta RESTful Web Services and drop the support for javax.ws.rs package namespace. Now i'm looking for something like a brigde/proxy/shim which redirect calls from javax.ws.rs to jakarta.ws.rs.

I would like to avoid something like reflection or bytecode manipulation if possible.

I'm using maven to build my project. Existing code related to this question can be found here: https://github.com/adorsys/keycloak-config-cli/pull/615

Wait until all dependencies are updated to Jakarta RESTful Web Services would the best solution. But it unknown to me if it happends in the near future.

TL;DR: I'm looking for something what is known from the logging subsystems, like log4j-slf4j-impl or jul-to-slf4j. javaee-jakataee-impl or javaee-to-jakataee

Thanks

java

jakarta-ee

jax-rs

resteasy

0 Answers

Your Answer

Accepted video resources