 <p>Ultimately, spring and JEE are competing technologies. However, to build web-apps spring-web uses the servlet specification from JEE stack. This means that any JEE or servlet container can host these web-apps. However, modern spring developers often use spring-boot, which embeds the server in a single executable uber-jar. I'd highly recommend that you try it out.</p>