Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what about EJB support ? #145

Open
demanzano opened this issue Apr 27, 2019 · 2 comments
Open

what about EJB support ? #145

demanzano opened this issue Apr 27, 2019 · 2 comments

Comments

@demanzano
Copy link

Hello,
I'ld ask if you plan to implement EJB support (maybe soon ? :) )
In my opinion CDI is great but there are some features that are only in EJBs yet (i.e. pooled bean, @schedule(), @asynchronous) and many not-so-old Java EE 7 projects still use them..
Thanks!
Ale

@MBJuric
Copy link
Member

MBJuric commented Apr 28, 2019

Hi,
EJBs and microservices are not a perfect fit, as they both provide similar concepts, but on different levels. For example, load balancing is provided on the level of EJBs (session beans) and on the level of containers (k8s). Therefore it is common best practice to refactor EJBs to CDI when migrating to microservices. Therefore it is unlikely that we will provide support for EJBs.
Best regards,
Matjaz

@demanzano
Copy link
Author

Hi!
thanks for answer!
I think I disagree with your analysis, as I said currently CDI does not support all EJB features (notably @schedule, @asynchronous and bean pooling = performance). A limited support as could be the EJB Lite specs would solve this in the meanwhile CDI grows those features. No need to remoting support (LB...).
Anyway thanks
Ale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants