aspose file tools*
The moose likes Tomcat and the fly likes Apache/Tomcat Resouces and Complexity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache/Tomcat Resouces and Complexity" Watch "Apache/Tomcat Resouces and Complexity" New topic
Author

Apache/Tomcat Resouces and Complexity

Dean Reedy
Ranch Hand

Joined: Sep 10, 2001
Posts: 89
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

Joined: Jan 18, 2002
Posts: 69
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.


MM Koppula<br />SCJP2<br />Object Oriented Analysis and Design with UML (IBM)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache/Tomcat Resouces and Complexity