Reputation: 2172
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?
Upvotes: 3
Views: 119
Reputation: 79
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
Upvotes: 1