Can we work with MDB and EJB's in Quarkus

553 views Asked by At

I tried looking into whether we can use MDBs and EJBs with the Quarkus framework, but I couldn't find any resources on Quarkus documentation. Can you please explain whether it is possible?

Basically, I want to consume the message from the Artemis brokers using Quarkus, but is it possible to do it using MDW and EJB?

1

There are 1 answers

0
Justin Bertram On

Quarkus does not support EJB (including MDB). The EJB specification has a lot of complexity and historical baggage that's probably not obvious to the average application developer. It wouldn't make sense for Quarkus to support it. If you want to use EJB then you should use Java EE. If you want to use Quarkus then you can consume JMS messages with the facilities that it provides.