This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?
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)
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.
An IDE is no substitute for an Intelligent Developer.