It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Server installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Server installation" Watch "Server installation" New topic

Server installation

Arathi Raj
Ranch Hand

Joined: Nov 22, 2002
Posts: 90
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.
For help
Marcus Howarth
Ranch Hand

Joined: Jan 04, 2002
Posts: 38

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 ]


SCJP, March '02
I agree. Here's the link:
subject: Server installation
It's not a secret anymore!