EJB3.1 and JSF issue with Tomcat 7
This question already has an answer here:
Tomcat by default is not a EJB container. To not loose the sleek and simple nature of tomcat but to have a tomcat based EJB container, just use Apache TomEE, it holds the OpenEJB implementation and hence would serve to your need nicely.
不是。或者在迁移到Tomcat之前不使用EJB来重新设计应用程序7。
tomcat is web container, may be tomcat 8 will support java ee 7, but you free to use Apache Tomee !!!
But in general when you use tomcat, use Spring, if you prefer Jboss or glassfish, use EJB3
链接地址: http://www.djcxy.com/p/61418.html上一篇: java中的DAO模式什么是业务对象