应用程序服务器和 servlet 容器之间的区别? [英] Difference between an application server and a servlet container?
问题描述
我试图了解成熟的应用程序服务器(例如 Weblogic、JBoss 等)和 servlet 容器(Tomcat、Jetty 等)之间的区别.
I am trying to understand the difference between a full fledged application server (e.g. Weblogic, JBoss etc.) and a servlet container (Tomcat, Jetty etc.).
它们有何不同以及何时使用哪个?
How do they differ and when to use which?
谢谢,
推荐答案
servlet-container 只支持 servlet API(包括 JSP、JSTL).
A servlet-container supports only the servlet API (including JSP, JSTL).
一个应用服务器支持整个JavaEE——EJB、JMS、CDI、JTA、servlet API(包括JSP、JSTL)等
An application server supports the whole JavaEE - EJB, JMS, CDI, JTA, the servlet API (including JSP, JSTL), etc.
可以在 servlet 容器上运行大多数 JavaEE 技术,但您必须安装特定技术的独立实现.
It is possible to run most of the JavaEE technologies on a servlet-container, but you have to install a standalone implementation of the particular technology.
这篇关于应用程序服务器和 servlet 容器之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!