Question: can we use ejb in tomcat?
Answer: You can, but it's not meant to happen that way. Tomcat is a servlet-container, and only application servers are required to support EJB. Tomcat with integrated EJB support is basically TomEE. ... You can keep using the Tomcat server plugin in IDE to manage TomEE.