Link to home
Start Free TrialLog in
Avatar of chaitu chaitu
chaitu chaituFlag for India

asked on

Is tomcat webserver or application server

Is tomcat webserver or application server

i am thinking that  tomcat is a webserver ;am i Correct?
Avatar of sajuks
sajuks

tomcat is bot a application & webserver
Avatar of chaitu chaitu

ASKER

how come tomcat is a application server;we can't deploy ear in tomcat naa..
i am talking abt ear not war...(jar+war=ear)i can't work ejb's in tomcat naa;
i know openejb;but tomcat can't directly support ejb's;we have to install third party jar's
Yes thats true
my assumption is that whatever server supports ejb's that's we call application server
ASKER CERTIFIED SOLUTION
Avatar of bloodredsun
bloodredsun
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
but i see in some of the articles or in forums why tomcat is referering as application server
J2EE Application Server should have two containers. a servlet container and another an ejb container

Tomcat is not a full  j2EE application server by itself (it can serve static content as well as dynamic content.)
Tomcat is servlet container that is subset of the J2EE Application Server.
JBoss is an ejb container which with Tomcat can work as J2EE Application Server


>> but i see in some of the articles or in forums why tomcat is referering as application server

No. it's not. People can get quite confused about this (including article writers!).

>> J2EE Application Server should have two containers. a servlet container and another an ejb container
Many J2EE containers actually consist of 3 elements, a web server for static content,  a servlet container for JSP/servlets and the the rest of the application server which manages with the EJB and ear side of things.