Difference between web server and servlet container

I can't able to figure out the techincal difference between web server(such as java web server) and servlet containers(such as jakarta-tomcat).If you please let me know then I will be very thankful to you.

The web server serves html pages to browsers that request pages. It can also send images, javascript, flash content, and a few other things. When a request comes into the web server for a servlet or jsp, the web server calls on the Servlet container to do THOSE jobs.
The Servlet container is the execution environment for a jsp or servlet (they are both servlets) to run Java code on the server and do logic.
So you see, the web server spits out static content, where either no logic is involved, or the client's web browser does the logic. The Servlet container is used for applications that execute code, perform logic, connect to databases, etc.
So they work together, but are completely separate logically.

Similar Messages

  • Difference between web server and application server

    Hi Everybody
    Could anybody expain difference between web server and application server?
    Sharad

    Hi there
    The difference I know is the application servers provides the containers for the applications to run which is not provided by the web servers.
    For example the containers can be an EJB container or JSP container etc

  • Differences between Web server and Application server

    Differences between Web server and Application server:
    We use Tomcat web server or sun Application server to deploy web applications . What is the differeences between these two servers?

    http://en.wikipedia.org/wiki/Web_server
    http://en.wikipedia.org/wiki/Application_server

  • Difference between web server and webcontainer

    Hai all,As i am new to the servlet technology, I am confused with the terminology of webserver and webcontainer. Can anyone tell me the clear difference between these both?
    Thanks in advance

    A web server refers to a server which normally listens at port 80 and serves up html pages, images, etc... The html pages are usually static pages unless they contain JavaScript. An application which uses servlets and jsps requires an application server such as Tomcat, WebSphere, WebLogic, etc.... These application servers include a "web container". Basically the "web container" is software which implements the "servlet contract". If you look at the api documentation for javax.servlet and javax.servlet.http, you will see that the most important objects (e.g. ServletRequest, ServletResponse, Servlet, HttpSession, etc...) are interfaces not classes. The reason for this is that each application server implements its own classes which implement these interfaces.

  • Difference between web server and presentation service

    Hi,
    Can anyone please help me in getting the answer following query:
    What is difference between the presentation service and a web server? OR If we have a presentation service then why do we require a web server?
    Thanks & Regards,
    Satej

    Hi Kris/Saichand,
    Thanks for your reply.
    I gone through the image but didnt get the clear picture. Could you please elaborate it some more?
    Thanks & Regards,
    Satej

  • RE:difference between application server and web application server

    hi,
         i am a fresher to SAP.please tell me the difference between application server and web application server so that my doubt will be clarified.

    Hi,
    the SAP Web Application Server is the reliable, open standard-based application server from SAP. It supports both J2EE and ABAP, and serves as the underlying infrastructure for all new and upcoming SAP solutions, like SAP R/3 Enterprise, SAP Portal, SAP Exchange Infrastructure, and all other SAP components.
    The SAP Web Application Server is not a new product, it is the natural evolution of proven SAP application server technology formerly known as SAP Basis. It provides the platform to develop, execute, and operate Web applications and Web services as well as traditional SAP GUI based applications
    if it helpful rewards points are appreciated

  • What are the differences between application server and webserver

    pls give the differences between application server and web server with examples

    Google.
    Example
    http://www.google.ca/search?hl=en&q=Do+your+own+damn+searching&meta=

  • Difference between application server and central instance

    Hi everyone,
    whats the difference between application server and central instance and message server. where it will be installed. and how?
    Regards
    Basis Fresher

    Hi,
    just want to clarify that is is not correct that only one enqueue process can be configured on the CI.
    Please see the documentation within transaction RZ11 for the parameter Parameter : rdisp/wp_no_enq
    Short description : number of enqueue work processes
    Parameter description :
    You can use this parameter to define the number of enqueue work processes for the instance.
    Ensure that a value >0 is only set on the central instance that provides the enqueue server (instance rdisp/enqname ). One enqueue work process on the central instance is normally sufficient (rdisp/wp_no_enq = 1); only in very large systems can a higher value be useful.
    Kind Regards
    Thomas Alt

  • Differences between Weblogic Server and Weblogic Server Suite?

    Hi
    What is the differences between Weblogic Server and Weblogic Server Suite, beside licens costs?
    Regards
    /Martin

    WebLogic server standard edition, you get the WebLogic with no clustering.
    Clustering is available in the WebLogic Enterprise Edition.
    The WebLogic Suite also gives you Coherence and JRockit real-time
    A desciption of the various products can be found here: http://www.oracle.com/us/products/middleware/application-server/index.html

  • Difference between Web Services and RFC (both Advantages & Disadvantage)

    Hi All,
    will you please explain the difference between  Web Services and RFC (both Advantages & Disadvantage)
    Thanks,
    jyothi.

    Hi,
    If you want have a communications between SAP systems within a network, we can go for an RFC.
    If you want have communication between SAP systems through a medium like internet, we can probably go for a webservice.
    Please refer the following links:
    What is the difference between RFC vs. Web service ?
    Webservice
    If you want to convert an RFC fuction module to an webservice, you can refer the following link,
    Using RFC as WebService in WebDynpro
    Hope this will help you.
    Regards,
    Jithin

  • What is difference between Web Console and Web SAPConsole

    Hello,
    What is the difference between Web Console and Web SAPConsole.
    Thanks,
    Milind M.

    Hello Milind,
    I am not sure that there is any difference between Web console and Web SAP Console.
    But of course, there is a lot difference between SAP Console and SAP Webconsole.
    Using SAP console you can use mobile data entery with Character support where as with the help of SAP webconsole you can use web supported mobile data entry in which you can use touch screen device.
    Hope this helps.
    Regards
    Arif Mansuri

  • Difference between apps server and web server...?

    hi,
    i would be grateful if anybody could list out around ten difference b/w web server and apps server,,,,,as i have presntation today afternoon...also i m not finding so many differances...anywayz ...lemme know if u know...
    Thanks in Advance.....
    nav

    Can it be that you are a little bit arrogant ?
    Why you don't simply use that little text field on the left side of this page or use a search engine ?
    One example:
    http://www.javaworld.com/javaqa/2002-08/01-qa-0823-appvswebserver_p.html

  • Difference between web server & application server

    Hi everybody ,
    Pl .forgive me for my ignorance.I can't understand the difference between Application server & web server .
    KIndly help me .
    Thanks.

    A web server basically just copies files over the network using HTTP. It needn't support server-side execution of any kind of application code (except the server itself, of course). Application servers, on the other hand, provide a platform for application development.
    In the J2EE world the term "Application server" is usually used to distinguish a fully-fledged server with an EJB container and JMS (such as JBOSS or BEA Weblogic Server) from containers that only implement the web application container part of the J2EE spec (such as Tomcat or BEA Weblogic Express).

  • The difference between VTP server and transparent mode on Catalyst Switch.

    Hello 
    I have a question about the difference between VTP server mode and VTP transparent mode on general catalyst switch.
    Basically VTP server mode can create and modify VLAN configuration but  actually there is not any VLAN configuration through running-config, is it true?  When I checked it on Cat3550, certainly there is not VLAN configuration on VTP server mode. But VTP transparent can create VLAN and configuration but does not synchronize with other switch VLAN status. I appreciate any related information and reason of the VTP server mode specification, thank you very much.
    [VTP Transparent mode]
    3550#sh vtp status
    VTP Version                     : 2
    Configuration Revision          : 0
    Maximum VLANs supported locally : 1005
    Number of existing VLANs        : 27
    VTP Operating Mode              : Transparent
    VTP Domain Name                 :
    VTP Pruning Mode                : Disabled
    VTP V2 Mode                     : Disabled
    VTP Traps Generation            : Disabled
    *omit
    3550#
    3550#sh run
    Building configuration...
    *omit
    vlan 99
     name TEST-VLAN
    [VTP Server mode]
    3550#sh vtp status
    VTP Version                     : 2
    Configuration Revision          : 0
    Maximum VLANs supported locally : 1005
    Number of existing VLANs        : 27
    VTP Operating Mode              : Server
    VTP Domain Name                 :
    VTP Pruning Mode                : Disabled
    VTP V2 Mode                     : Disabled
    VTP Traps Generation            : Disabled
    *omit
    3550#
    3550#sh run
    Building configuration...
    *no VLAN like above configuration on VTP transparent mode.
    Best Regards,
    Masanobu Hiyoshi

    Hi mhiyoshi,
    3550#sh vtp status
    VTP Version                     : 2
    Configuration Revision          : 0
    Maximum VLANs supported locally : 1005
    Number of existing VLANs        : 27
    VTP Operating Mode              : Transparent
    VTP Domain Name                 :
    VTP Pruning Mode                : Disabled
    VTP V2 Mode                     : Disabled
    VTP Traps Generation            : Disabled
    *omit
    3550#
    3550#sh run
    Building configuration...
    *omit
    vlan 99
     name TEST-VLAN
    The above out put indicates that Vlan is created and then mode changed to transparent. i.e why revision no is 0.
    3550#sh vtp status
    VTP Version                     : 2
    Configuration Revision          : 0
    Maximum VLANs supported locally : 1005
    Number of existing VLANs        : 27
    VTP Operating Mode              : Server
    VTP Domain Name                 :
    VTP Pruning Mode                : Disabled
    VTP V2 Mode                     : Disabled
    VTP Traps Generation            : Disabled
    *omit
    3550#
    3550#sh run
    Building configuration...
    *no VLAN like above configuration on VTP transparent mode.
    This indicates that vlan never created in server mode nor learnt from another switch as revision no is 0

  • Difference between application context and servlet context

    HI,
    what are the differences between an application context and a servlet context?
    Also can any body elaborate on context path and servlet path. To quote servlet spec:
    Context path: The path prefix associated with the ServletContext that this
    servlet is a part of.
    Servlet Path: The path section that directly corresponds to the mapping
    which activated this request.Thanks in advance.

    Application context and Servlet Context are pretty much interchangeable terms IIRC.
    ContextPath == name of your web application
    ServletPath == path to the servlet
    Given http://localhost:8080/myWebApp/myServlet
    contextPath == myWebApp
    servletPath == myServlet
    A jsp to help you understand this:
    Working with server: <%= application.getServerInfo() %><br>
    Servlet Specification: <%= application.getMajorVersion() %>.<%= application.getMinorVersion() %> <br>
    Sessionid : <%= session.getId() %><br>
    QueryString: <%= request.getQueryString() %><br>
    ContextPath: <%= request.getContextPath() %><br>
    ServletPath: <%= request.getServletPath() %><br>Cheers,
    evnafets

Maybe you are looking for