0

Is Apache Tomcat a web server or an application server?

Jean-François Corbett
  • 37,420
  • 30
  • 139
  • 188
vijay k s
  • 33
  • 4
  • http://stackoverflow.com/questions/5481902/web-server-vs-app-server – Ketan Bhavsar Dec 08 '14 at 07:44
  • 2
    It's kind of both. It will serve web pages. It is also a simple Java EE application server. If you add more libraries to Tomcat, it will serve more complicated Java EE apps (I think that's what JBoss does). – markspace Dec 08 '14 at 07:44
  • It's neither. Without any additional libraries it is just a web container for serving servlets and JSPs. It can serve static files, but you shouldn't confuse it with real web server like for example Apache. And it also lacks libraries required by application server. – Gas Dec 08 '14 at 15:35

2 Answers2

2

Appache tomcat is only servlet container (as jetty). Real application server is Glassfish, Jboss...

Milkmaid
  • 1,659
  • 4
  • 26
  • 39
0

Apache Tomcat is webserver with a servlet container. It is not full fledged application server like jboss or websphere. However, latest versions like tomcat 7 are more than the webserver. it is webcontainer.

Panther
  • 3,312
  • 9
  • 27
  • 50