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.
Hi, I have a doubt. 1) Is apache server is just a web server which responds to static web pages or does it have servlets container to respond to even dyanamic pages.If tomcat act both as web server and servlet container, can it be used for production purpose or do we have to combine apache server and tomcat. 2)If I install apache server on my PC. and add some html pages. will the www will be able to access my website if I give my IP address of my computer. Is there a need to register my ip address before giving to www.Please see the link to this discussion. I didn't understand that properly. http://www.coderanch.com/t/282533/JSP/java/Tomcat-as-web-server Thanks For help
1) for JSP/servlets you need a servlet container - such as Tomcat. Tomcat will serve static HTML pages aswell. It won't be the most efficient webserver as it's been built around the JSP and Servlet standards, but for most purposes it's quite/very capable. You can increase performance further by having static pages, images etc. on a seperate apache web server - depending on your needs. 2) if you've got an always on connection and want to host a site on your own PC that is entirely possible. Have a look at services like NO-IP which are really helpful if you have a dynamic IP which changes occasionally. Remember a firewall and some other basic security issues as mentioned in that other post. HTH, Marcus [ August 04, 2003: Message edited by: Marcus Howarth ]