Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Have Programming Question? Ask it here!

1 Answer(s)      6 years and 7 months ago
Posted in : Java Server Faces Questions

What is WebServer? Do i need one for the Java programming?

View Answers

February 24, 2008 at 7:27 PM

Answer for question no:1

difference between web container and web server

Web container is nothing but a folder where a web site's files and folders are stored. When you accessing a web site all files are stored in seperate folders.

Web server is known as a server which processes the user requests and sends reply to the users.

Answer for question no:2

What is Tomcat ? is Tomcat web container or web server ?

Tomcat is a web server. All of the J2EE web based projects will be stored in the location Tomcat> Web-apps><our folder> .
Here our folder is where we maintaining our project files. To run this project we must type in our browser ashttp://localhost:8080/<our folder>/<first accessible file name>.
Here 8080 is the port number. This is the default port number. You must check the port number while installing tomcat.

Answer for question no:3

Out of Interface and Abstract class Which one of we should use and why ?

I do not know the exact answer. But my suggession is interface must have variables with modifiers static and final. I think this only may be the reason.

Related Tutorials/Questions & Answers:
WebServer - Java Server Faces Questions
WebServer  What is WebServer? Do i need one for the Java programming?  Answer for question no:1 difference between web container and web server Web container is nothing but a folder where a web
Difference bn webserver and appserver - Java Interview Questions
Difference bn webserver and appserver   Difference between web server...;a webserver will be userful to handle the generic requests via browser like http requests and will forward to corresponding servers(probably a other webserver
Installation, Configuration and running Servlets
to install a WebServer, configure it and finally run servlets using this server. Throughout this tutorial, we will be using Apache?s Tomcat server as the WebServer... WebServer across the world. A few reasons we can attribute for its popularity is ? Easy
J2EE Tutorial - Session Tracking
the object  is not available in the webserver but in another remote machine... in the webserver's memory and not in the server's hard disk.( This point
java - Java Interview Questions
java  what difference between webserver and Application server
About Java - Java Interview Questions
About Java  what is edition of java? versions of weblogic? what r the webserver applications used in your application
servers - Java Interview Questions
servers  what is the difference between application server and web server? Give me the difference between Tomcat webserver,BEA weblogic server,JBOSS Application server and Sun Java system application server
servlets - Servlet Interview Questions
webserver is it posssible then ,how
connectivity - JSP-Servlet
connectivity  hi, im doing a project in bioinformatics.I wish to create a webserver,for that I have to access the datas from a databse file named ProteinDataBank which is already available.I want to know the coding for how
sample code - WebSevices
sample code  Hi Guys, can any body tell me use of webservices ? I want a sample code using xml with one application server bea weblogic and webserver tomcat   Hi Friend, Please visit the following link
How to compile and run the JSP
How to compile and run the JSP  Hi Kindly tell me how to run and compile JSP small Program using Tomcat as webserver. I created small program HELLO JSP in HTML and compile the program but it is saying Class o r interface
server - Development process
server  difference between application server and web server  Hi all, The main difference between App server and webserver is App Server can serve html pages,jsps and servlets and even EJBS... Webserver
java - WebSevices
; Hi friend, Difference between WebServer and Application Server WebServer *) It serves pages for viewing in web browser. *) It exclusively... comes into the webserver, *) It may not support transactions and database
Date Coding - JSP-Servlet
that webserver is always on, Given semester end date is 10-october-2009 and when
servlets - Servlet Interview Questions
webserver is it posssible then ,how.  it is possible you can configure
servers - Java Beginners
servers  hi what is the difference between webserver..., Webserver: *)It handles the HTTP protocol. *)It receives an HTTP request...,Resource pooling ,etc.. AppServer=WebServer+EJB container A Web
regarding oops - Java Interview Questions
webserver. 3)web server serves web based applications.(i.e servlets and jsps) whereas
Java client posting to a servlet - Development process
Java client posting to a servlet  Hi, I would like to create a java client that post to a servlet. I am trying to test out a webserver and would like to drive a number of connections using this process. Thanks  Hi
server installation problam - JSP-Interview Questions
server installation problam  hello sir my system operating system is vista and I installed tomcat server5.5 but I got the problam plz tell me how to install tomcat webserver and how set the path in environment varibles. 
servlet container - Servlet Interview Questions
servlet container  Where the servlet container presents that is in the webserver or in any other place.can u show me the architectural view?  Hi friend, A servlet container is nothing but a compiled, executable
J2EE Tutorial - Java Bean
it to the webserver. The JSP then invokes the greeter bean in the webserver... the desktop, to webserver, there is no point in providing a visual...; in webserver, is exactly similar to ASP component). ( So  no worry about
JSP - Abobe Interactive Forms - JSP-Servlet
TomCat Webserver. I dont know how to proceed. I have to make a JSP page which
How to get the output of JSP program using Bean
program for the above one by using Bean and i opened the Tomcat webserver
How to get the output of jsp program using Bean
the Tomcat webserver and clicked the JSP and i got the HTTP Status -500
Application Server and Web Server - WebSevices
capable of dynamic behaviour than webserver
JSON-JSP example
and place it into Tomcat's lib directory Start Tomcat Webserver and type
J2EE Tutorial - Introduction
problem! A  WebServer is just for delivering documents as requested.... For instance, Personal WebServer has built in feature for executing ASP which... is the leading WebServer in Internet world, Sun collaborated with Apache
Open Source Text Editor
to load, edit and save content to a webserver. though the editor can be used... hyperlinks, necessitate the use of a webserver. :: features :: * load
Why PHP ?
webserver has an IP address and possibly a domain name. If you enter the URL
JSP Training
servers and Web servers? What does your Webserver do? How Container Handle
JSON and Servlet example
Webserver and type http://localhost:8080/JSON/JSONServlet 
Send Email From JSP & Servlet
webserver, using JavaMail API, the following code shows how the required... Tomcat server.  The TOMCAT server is a webserver especially created
SOA and Web Services
webserver.      Exposing EJB as XML
Ajax - Asynchronous JavaScript and XML, What is Ajax?
server. Once the response is returned by the webserver, more JavaScript can
Servlet Training Overview
does a Webserver do? What are Servlet Containers? How does
Send Mail Bean
;/beans> Here we set the host name or IP of webserver
\weblogic700\server\lib\weblogic.jar >startup This will start the webserver. Start
.  We may have to restart the tomcat4.1 webserver. We can then create a java
Jboss 3.2 EJB Examples
to use an external Tomcat webserver for deploying the servlet/jsp, and accesss... and access it by a session-tracking servlet in separate Tomcat4 webserver...-client, state will not be maintained at the webserver side, as HTTP is a stateless
JSF Tutorial for Beginners
& jsp, is is only the data that is accepted by the webserver and the gui has
Struts Validator Framework - lab oriented lesson
webserver technology has progressed through Servlets, plain JSP, JSP using beans
Developing Struts Application
;URL-pattern' in Tomcat4,when using servlets. And in j2ee webserver like
will, of course, need a webserver. This can either be on a computer of your own or on a web
Tomcat Books
. The Tomcat servlet engine often appears in combination with an Apache webserver
Ajax Code Libraries and Tools
web applications to call the webserver without leaving the actual page