• Post Reply Bookmark Topic Watch Topic
  • New Topic

Switching to Tomcat  RSS feed

 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all!!!
i m using Apache Web Server for servlet, should swithcing to Tomcat benefit me. Also i wanna do some projects using JSP, so which one would be beter for me.
 
ravi bask
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess Tomcat is the good one, it is developed under the guidance of Java Team, it follows the J2EE spec, so i guess Tomcat is better, but there are some other application server
WebLogic, webSpere
 
Kris Decker
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, but Tomcat is free $$$
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Helo!
I am running Tomcat 4.0-b6, both servlet and jsp are possible. As it is 100% java I tried to run it under Java 1.2.2 on OpenBSD box via linux emulation (blackdown-jdk1.2). It did not work and I dont know whether it is the JDK version or linux emulation that messes things :? Tomcat, however, runs happily on my NT box as service
On my OpenBSD box the Jetty server works, which is also 100% java Somehow I fail to run Jetty on my NT box
So, conclusion:
- Tomcat runs servlets and jsp
- Jetty runs servlets and jsp
- both 100% java, easy to set up and FREE!

------------------
Antti Barck
It Solutions Consultant -- NSD Oy
Sun Certified Programmer for the Java™ 2 Platform
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Notice that Tomcat is bad performing in serving static content (html, images, etc.), so a combination of Apache Webserver (for static content) and Tomcat (for dynamic content) would possibly be best.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ilja Preuss:
Notice that Tomcat is bad performing in serving static content (html, images, etc.), so a combination of Apache Webserver (for static content) and Tomcat (for dynamic content) would possibly be best.

Define bad performing!

------------------
Antti Barck
It Solutions Consultant -- NSD Oy
Sun Certified Programmer for the Java� 2 Platform
[This message has been edited by Antti Barck (edited August 23, 2001).]
 
Kris Decker
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Essentially, Apache was designed for serving static pages. (I know this is a gross generalization)
Tomcat was designed for (among other things) use as a servlet/jsp engine--not optimized for serving static pages. It is assumed that Tomcat would be deployed with a separate web server
Originally posted by Antti Barck:
Define bad performing!

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!