Besides EAR and EJB, what do I get from a Java EE app server that I don't get in a servlet container like Tomcat?

后端 未结 5 1724
后悔当初
后悔当初 2020-11-28 04:05

We use Tomcat to host our WAR based applications. We are servlet container compliant J2EE applications with the exception of org.apache.catalina.authenticator.SingleSignOn.

5条回答
  •  感情败类
    2020-11-28 04:35

    Unless you want EJB proper, you don't need a full stack J2EE server (commercial or not).

    You can have most J2EE features (such as JTA, JPA, JMS, JSF) with no full stack J2EE server. The only benefit of a full stack j2ee is that the container will manage all these on your behalf declaratively. With the advent of EJB3, if you need container managed services, using one is a good thing.

    You can also have no cost full stack server such as Glasfish, Geronimo or JBoss.

    You can also run embedded j2ee container managed services with embedded Glasfish for example, right inside Tomcat.

    You may want an EJB container if you want to use session beans, message beans, timer beans nicely managed for you, even with clustering and fail over.

    I would suggest to the management to consider upgrades based on feature need. Some of these EJB containers might just well use embedded Tomcat as their webserver so what gives!

    Some managers just like to pay for things. Ask them to consider a city shelter donation or just go for BEA.

提交回复
热议问题