I have an old java EE project which uses EJB and CDI and runs on Tomcat web container. I then recently created a project using spring core. Is it ok to use the spring within EJB project?
If yes, then how component lifecycle works for both. Will there be a conflict?
You can use the spring library inside the EJB project. But what is the use case? https://www.baeldung.com/spring-ejb https://dzone.com/articles/ejb-30-and-spring-25
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With