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?