In this post, we will see how to resolve Inject @RequestScoped inside @Stateless Question: I am trying to inject a client depended object inside a statless object. I did manage to do it, but I am not really sure how ...

Question: I have 2 producer-methods, one has only 1 qualifier and one has 2 qualifiers, the one from the first producer and an additional one: If I try to @Inject MyBean with both qualifiers, everything works fine, produce2 is called. ...

Question: I would like to write a tool able to intercept all the method calls during the usage of an application that use CDI (Weld). I have already tried with CDI interceptors, however, since I want to keep the beans ...

Question: Today, while profiling a Quarkus app, I found out that io.quarkus.arc.runtime.devconsole.InvocationInterceptor seems to intercept (almost?) all bean classes when Quarkus is running in dev mode, even though the Interceptor has an InterceptorBinding that is not used anywhere in the ...

Question: I’m having troubles getting bean validation to work with the following minimalised project consisting only of this three java files plus pom.xml. I’m using Apache TomEE 8.0.10. LoginMessage.java SessionService.java SessionController.java pom.xml If you post an empty JSON object it ...