vishrutsumit
asked on
IsTomcat a webserver/application server or servlet engine
Hi,
I know tomcat is not a application server,but should it be called a web server,a servlet engiine or both??
Vishrut
I know tomcat is not a application server,but should it be called a web server,a servlet engiine or both??
Vishrut
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
TOMCAT is a servlet engine. It handles JSP/Servlets. A web server handles HTML, CSS, JavaScript, ... but not JSP/Servlet. TOMCAT could (and should) be plugged to a web server. As it runs on J2SE, you could also use JDBC, JavaMail and all features (optional or not) for J2SE. TOMCAT also provides some JNDI features to support javax.sql.DataSource, database pooling, ... Finally, TOMCAT includes JMX support for monitoring purposes.
ASKER
why should we plug a Web server to the Tomcat,It works as a web server as well.Are there any performance and scalability issues involved?
Vishrut
Vishrut
Hi,
1. Tomcat is a J2EE application server, that can serve static content as well as dynamic content.
Anways, to my knowledge, Tomcat is an application server.
i hope it helps you
best of luck..
R.K
1. Tomcat is a J2EE application server, that can serve static content as well as dynamic content.
Anways, to my knowledge, Tomcat is an application server.
i hope it helps you
best of luck..
R.K
ASKER
Tomcat is not an application server,An application server is a CTM(Container,Transaction Monitor) which can contain/deploy and run the enterprise applications which are developed with Ejbs.There is no provision wherein one can depoly the EAR files on the tomcat.
It's just a servlet engine and /or a web srver.
Vishrut
It's just a servlet engine and /or a web srver.
Vishrut
Hi Vishrutsumit,
As per my knowledge its Application Server, if you want more info...look at here....
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
http://kinetic.more.net/web/javaserver/localdev/tomcat4.shtml
http://forums.devshed.com/t156766/s.html
i hope now u understand by this why it is treated as Application Server / Servlet Container...
best of luck..
R.K
As per my knowledge its Application Server, if you want more info...look at here....
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
http://kinetic.more.net/web/javaserver/localdev/tomcat4.shtml
http://forums.devshed.com/t156766/s.html
i hope now u understand by this why it is treated as Application Server / Servlet Container...
best of luck..
R.K
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That means Tomcat can only be used as a Servlet engine in the development environment only?It has no use in Production environment,or otherwise,an apache web server can be plugged in which will accept the request and provide the response to the client,and internally use Tomcat as a servlet engine as well as JSP compiler?
Sure, it could be used in production but it should be used with a web server in front of TOMCAT :
Client<----->Apache+Connec tor<------ ->TOMCAT
I hope it helps.
Client<----->Apache+Connec
I hope it helps.
ASKER
In any case will it be required to plug it into the weblogic server in enterprise web applications?
No, if you use weblogic then you don't need TOMCAT. Weblogic IS a J2EE application server and already includes a servlet engine (which is not TOMCAT).
Hi experts,
you may look at this problem also and make your comments...
https://www.experts-exchange.com/questions/21099162/Tomcat-is-not-a-web-server.html
R.K
you may look at this problem also and make your comments...
https://www.experts-exchange.com/questions/21099162/Tomcat-is-not-a-web-server.html
R.K
/me is wondering exactly how experts-exchange is running, now that we've considered how it should be run;)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks All for your help.