Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tomcat--Web Server or Web Container?

I've a small doubt in my mind; could anyone please clarify me is the Tomcat web server or Web container?

like image 227
Pauo Avatar asked Dec 12 '09 12:12

Pauo


People also ask

Is Tomcat an application container?

Tomcat is a Servlet container. It's not a full fledged Java EE compliant Application Server, so it doesn't support for example EJBs or JMS out of the box. Show activity on this post. Java Platform, Enterprise Edition or Java EE (was J2EE) defines the core set of API and features of Java Application Servers.

Can Tomcat be used as a web server?

Tomcat can be used as web server in addition to servlet engine. Tomcat also supports SSL, much similar to the way in which SSL is implemented in Web NMS. So there is no extra concern to customers using SSL. Tomcat is also a Java application, hence running as Web NMS web server in SSL mode is much simpler.

What is the difference between web server and web container?

The Web container provides the runtime environment through components that provide naming context and life cycle management. Some Web servers may also provide additional services such as security and concurrency control. A Web server may work with an EJB server to provide some of those services.

What is difference between Tomcat and a web server?

Key difference between Tomcat and the Apache HTTP Server the Apache HTTP Server, but the fundamental difference is that Tomcat provides dynamic content by employing Java-based logic, while the Apache web server's primary purpose is to simply serve up static content such as HTML, images, audio and text.


1 Answers

It's both a web server (supports HTTP protocol) and a web container (supports JSP/Servlet API, also called "servlet container" at times).

like image 162
BalusC Avatar answered Oct 13 '22 10:10

BalusC