Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Server-Phobia  RSS feed

 
Dan Temple
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I am very new to the wonderful world of setting up webservers; in fact I know only the basics about client-server architecture, and I think if I am hardpressed I might be able to SPELL "Servur" (er ... never mind). So to boldly go forth and grapple with my server-ignorance I am going to try and develop a web application using servlets. I am reading an excellent book on the matter "Core Servlets and JavaServer Pages" and so far it looks like a snap. However I think that 90% of my time and brain haemorrhages will come from just setting up the server, rather than writing actual code.
I think I will use the Apache Tomcat, but I have a few questions:
1) Apache is the webserver and Tomcat runs the Servlets and Jsp in that environment. Is this correct?
2) I have heard that setting up Tomcat is ... er ... *cough* ... CHALLENGING, so I was thinking of buying the book "Apache Jakarta-Tomcat" by James Goodwill. Has anyone bought this book, and if so can they recommend it?
3) If my assumption about (1) is correct, I will need to install the Apache Webserver first. Is this as challenging as setting up Tomcat, and if so will I need another book just to do that?
4) What are the system requirements for running Apache and Tomcat in a windows environment?
Any insights or advice would be very much appreciated
Dan
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. You don't have to have Apache as the main webserver, it is easier if you let Tomcat do it all.
2. In my experience, setting up Tomcat by itself (not tied to Apache) is extremely simple. Just unpack the zipped file.
3. I dunno
4. Tomcat can run in pretty small memory - with Win98 you have to ensure enough environment space. You may have a problem with versioning if you ever installed the earlier servlet JSDK or if you have an earlier version of the JAXP package installed on your system.
Bill
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is also an Apache/Tomcat forum on this website, if you scroll down far enough.

Ask all your Tomcat questions in there.

I'll echo William's comments, that indeed Tomcat stand-alone (no Apache) is fairly easy to install, especially since 4.x versions, which come with a windows installer.
 
Dan Temple
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, Thanks for the reply folks!
Dan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!