What is the difference between Tomcat and TomEE, TomEE and TomEE Plus

后端 未结 2 1230
误落风尘
误落风尘 2021-01-29 20:44

I want to deploy EJB ear in a server but I am really confused about choosing a server among tomcat, TomEE and TomEE Plus.

  1. Wh
2条回答
  •  没有蜡笔的小新
    2021-01-29 21:00

    Apache Tomcat is a Java servlet container which implements the following specifications:

    1. Java Servlet Specification
    2. Java ServerPages (JSP)
    3. Expression Language (EL)
    4. WebSocket

    The version of Tomcat you choose will dictate the versions of the above specifications that are supported.

    Apache TomEE is a Java EE Web Profile-certified stack which is built on top of an Apache Tomcat base integrated with additional related technologies. It adds implementations for the following specifications (using the Apache project shown in parentheses):

    1. CDI - Apache OpenWebBeans
    2. EJB - Apache OpenEJB
    3. JPA - Apache OpenJPA
    4. JSF - Apache MyFaces
    5. JSP - Apache Tomcat
    6. JSTL - Apache Tomcat
    7. JTA - Apache Geronimo Transaction
    8. Servlet - Apache Tomcat
    9. Javamail - Apache Geronimo JavaMail
    10. Bean Validation - Apache BVal

    Apache TomEE+ adds:

    1. JAX-RS - Apache CXF
    2. JAX-WS - Apache CXF
    3. JMS - Apache ActiveMQ
    4. Connector - Apache Geronimo Connector

    Note that all of this was available from some obvious places on these Apache web sites:

    • Apache TomEE
    • Apache Tomcat

    If I understand correctly, the whole EAR thing has been abandoned in favor of good-old WAR files. But, if you have to deploy an EAR file, you are more than likely going to require Apache TomEE. Apache Tomcat certainly doesn't know what the heck to do with an EAR file.

提交回复
热议问题