WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it

  • 1.  Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it

    Posted Thu September 12, 2013 09:41 AM
    Hi all,

    I apologize for asking this simple question but this is disturbing me a lot.


    1. Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it (Webspher application server has an embedded HTTP server which has a web container in it.....)

    If yes can anyone plz let me a know how a request is processed when a user first hits the web server. 

    ***************************

    2.  What are the prerequisites for installing WAS V7 on redhat linux boxes.....?





     


  • 2.  Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it

    Posted Thu September 12, 2013 11:44 AM
    [quote author=197668303 post=535420741]Hi all,

    I apologize for asking this simple question but this is disturbing me a lot.

     
    1. Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it (Webspher application server has an embedded HTTP server which has a web container in it.....)

       IHS and Apache are Web Servers they hasn't a WebContainer. WebContainer is a J2EE specification concept that implements J2EE Application Servers.  The WebContainer is responsable of execute JSP, Servlets, Web Services,...implemented in Java.
     
      IHS and Apache only serve static contents or resources like images, pdf, excel,...and html page. They can execute aplications like cgi scripts or if you configure a PhP server then become and Application server but this another thing.
     
      IIS can server static content like a Web Server but is and Application server too, because it can execute ASP pages, .Net (like jsp, servlets)
     
      You have another WebServers like a Sun ONE, iPlanet, Lotus Web Server (this can be an Application server too).
     
      As you say Webspher application server through Web Container (with an embedded HTTP server) can act as Web Server and serve static contents too.  In this case your images, images, pdf, excel,...and html page are served by Web Container.

    If yes can anyone plz let me a know how a request is processed when a user first hits the web server.

      Basically if you have 2 tiers one for Web and another for Application Server. When the request hit the web server it try to give an answer checking it configuration file (httpd.conf f.e) if it can't, through Plugin module (reading plugin-cfg.xml file) try to solve an if it can redirect the request to corresponding Application server.  That is basically the behaviour.

    ***************************

    2.  What are the prerequisites for installing WAS V7 on redhat linux boxes.....?

      1.- List of supported software for WebSphere Application Server V7.0
            http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27012369

        2.- Hardware and software requirements
            http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.installation.nd.doc/info/ae/ae/rtop_reqs.html

        3.- Planning to install WebSphere Application Server
            http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.installation.nd.doc/info/ae/ae/tins_scenario3.html
        
        4.- Preparing Linux systems for installation
            http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.installation.nd.doc/info/ae/ae/tins_linuxsetup.html

        5.- Installing the product and additional software
            http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.installation.nd.doc/info/ae/ae/tins_install.html



     [/quote]


      Hope this helps and solve your doubts

    Regards


  • 3.  Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it

    Posted Thu September 12, 2013 12:45 PM
    thnx a ton gabriel .......... :)


  • 4.  Does a web server (e.g. IHS, Apache, IIS etc....)has a web container in it

    Posted Fri September 13, 2013 08:02 AM
    How does web server works ?
    ---------------------------------------

    Web Server does nothing but listen to the IP addresses and TCP port or ports specified in its Config file. When a request appears on a valid port, it receives the HTTP request and analyzes the headers. It then applies the rules it finds in the Config file and takes the appropriate action.

    URL stands for Universal Resource Locator. A URL such as http://www.websphereusergroup.org comes in three parts:

    method : // host / absolute path URL (apURL)


    So, in our example, < method> is http, meaning that the browser should use HTTP (Hypertext Transfer Protocol); is www.websphereusergroup.org; and is "/ ", meaning the top directory of the host. Using HTTP/1.1, your browser might send the following request:


    GET / HTTP/1.1


    Host: www.websphereusergroup.org


    The request arrives at port 80 (the default HTTP port) on the host www.websphereusergroup.org. The message is again in three parts: a method (an HTTP method, not a URL method), that in this case is GET, but could equally be PUT, POST, DELETE, or CONNECT; the Uniform Resource Identifier (URI) "/"; and the version of the protocol we are using. It is then up to the web server running on that host to make something of this message.