• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Apache/Tomcat Resouces and Complexity

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 24287
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic