Tomcat Web principles and concepts (1)

 

table of Contents

1. Software Architecture   

2. Resources:

   1. Static resources:

    2. Dynamic resources: 

    3. Network macaroni three elements


1. Software Architecture   


   1. C / S (Client / Server): Client / server, such as QQ, lol

   2. B / S (Browser / Server): browser / server such Jingdong, Taobao


2. Resources:

 

   1. Static resources:

        All users access to the content of all the same, it can be parsed directly back to the user browser
        , such as: html, css, JS, images, etc.   


    2. Dynamic resources: 

       After the visit may get different results, after dynamic resource being accessed need to be converted to a static resource,
       and then returned to the browser, the browser parses back to the user
       such as: servlet / jsp, php, asp, etc.


  3. Network macaroni three elements


      1. IP address: 127.0.0.1 as

      2. Port:
         the application that uniquely identifies the computer. Decimal integer: 0 to 65536
         port number: used to uniquely identify a process. Each program must have a port number
        port number 0-1024 The following is retained by the system, the program apes do not use a port number less than 1024 in the actual development.

      3. Protocol: Used to specify the format of the message transmission.
     
       1. Basic Agreement:
          1) tcp: security protocol, three-way handshake, speed is not fast
          2) udp protocol: secure, fast

Published 85 original articles · won praise 48 · views 20000 +

Guess you like

Origin blog.csdn.net/weixin_43900387/article/details/104096544