Enterprise Beans was once the face of Java EE, but as we discussed a while ago, is currently de-emphasised in Jakarta EE. However, since there’s so much existing code using Enterprise Beans, a certain level of support is still desired.
Piranha Cloud, a relatively new runtime supporting Jakarta EE, takes a somewhat novel approach to Enterprise Beans. Instead of implementing a separate container, Piranha Cloud, via the OmniBeans project, maps Enterprise Beans annotations to equivalent functionality in CDI itself, or to technologies in Jakarta EE leveraging CDI (such as Jakarta Transactions). Enterprise Beans features not currently present in Jakarta EE, such as the pooled concept for Stateless beans, are provided by the OmniServices library.
…
EJB support in Piranha via CDIRead More »