• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache/Tomcat Resouces and Complexity

 
Dean Reedy
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not used apache or Tomcat and I have a few questions.
I want to use Apache in conjuntion with Tomcat
-Hosts a webpage, personal
-Write and use jsp pages
-Have access to files on my computer via the internet
-Run this on a 500 mhz machine, windows 98
Now do I need both Apache and Tomcat?
What is the difference between Apache and Tomcat?
What kind of overhead/ resources does the Apache and Tomcat require to run?
Are Apache or Tomcat hard to setup?
The machine I want to run this on is my personal machine and I would still like to use it as apache and tomcat are running is this an issue? Meaning resources, memory, Internet usage?

Thanks for any help or guidance.
Dean
 
Merlin M Koppula
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not run Apache/Tomcat on 98, but, I do have it on Linux (on desktop).
Tomcat is part of Jacartha (java based projects) projects of Apache.
Their flagship product is Apache (httpd) web server (I think was written in C).
Tomcat 4.0 is their reference implementation of Java Servlets 2.3 and JSP 1.2. I beleive it was written in Java.
You can get a lot of stuff on their website apache.org.
Both the web server and Tomcat are very easy to install. You will get all the help from their web site.
Hope this helps.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If performance is not an issue, you don't need Apache - unless you are depending on some specialized Apache module to do somthing. For straightup web serving, Tomcat is sufficient. The reason that people pair the two is because Tomcat has more CPU overhead for simple (non-Java) requests than Apache does.
500 MHz is more than sufficient. I serve JSPs off a recycled P200 with minimal pain, and the difference in performance between Linux and Win/98 isn't THAT great! I WOULD allow for the Tomcat server consuming about an extra 100MB of RAM.
Win/98 is OK for playing with the technology. The flamin' thing crashes too often to run as a production web server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic