what is tomcat and apache ?!

vijayimmune

Junior Member
Mar 1, 2013
10
0
0
he guys, I know the basic coding of java programming, I've programmed some of the basic programs of java in netbeans IDE, but I was thinking what is apache and tomcat, please help me with this, I will truely appreciate any help on this friends.:'(
 

bobross419

Golden Member
Oct 25, 2007
1,981
1
0
Apache is a web server -- http://httpd.apache.org/docs/

Tomcat is a java applet server that can also function as a web server -- http://tomcat.apache.org/

Apache needs to rely on some sort of applet server in order to serve up Java pages. Thats the down and dirty... I'd suggest you read through some of the documentation on each if you want to learn a bit more.
 

vijayimmune

Junior Member
Mar 1, 2013
10
0
0
thank you very much bobross, but please can u tell me whether I need both apache and tomcat or only one of them ?!
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Tomcat is a Java application server (it has nothing to do with Java applets). It allows you to write web applications using Java servlets or JSP pages. Apache is a web server designed to server static content (HTML files, image files, CSS files, etc.). If you are running Tomcat, you typically do not need to run Apache as well. Tomcat will server static content as well as dynamic servlet and JSP content just fine.

This guide should show you how to setup Tomcat with Netbeans.
 

beginner99

Diamond Member
Jun 2, 2009
5,310
1,749
136
Netbeans usually ships with apache and you just have to select the correct check box to install it during netbeans install...

Else RTFM. Asking questions is OK but this sounds like someone asking "What is the steering wheel for?"
 

sunilmkt

Member
Nov 21, 2012
38
0
61
Tomcat is a Java Servlet container and web server from the Jakarta project of the Apache software foundation. Learn for tomcat please check-http://jakarta.apache.org/tomcat.

while Apache is a open source or freely available Web server that is distributed under an "open source" license. Apache Version 2.0 runs on most UNIX-based operating systems such as Linux, Solaris, AIX etc.
Around 60% of Web sites on the Internet are using Apache web server.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Why don't you explain what you want to do? I've seen a few of your postings and you've been asking very general questions and the answers don't seem to help very much. It seems like you don't know very much about what you're asking. When that happens, people often ask the wrong questions. Tell us what you're working on and maybe we can guide you a bit better.
 

TutorIndia

Junior Member
Mar 2, 2013
3
0
0
Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.