java web review chapter 1 key content

java web chapter 1

Development profile

  • The most essential difference between static web and dynamic web: static web cannot perform database operations, while dynamic web can perform database operations.

  • The biggest feature of the dynamic web is its interactivity. The so-called interactivity means that the server will automatically display different results according to different user requests.

  • To realize a dynamic web, you can use the following five methods: (1) CGI: low efficiency (2) PHP: needs to run under Apache, and only when using MySQL database can the maximum performance be achieved. (3) ASP: ASP can only run on the IIS server, and can only be maximized on the SQL server database. (4) ASP.NET: Based on the .NET framework platform. (5) JSP: Dynamic web development using Java, embedding java code in HTML to realize functions. The predecessor of JSP is servlet (server applet), but because the development of Servlet is too complicated, the Servlet program is repackaged to form a development technology - JSP.

  • The development of dynamic web belongs to B/S structure.

  • C/S mode: the client/server mode. For example QQ.

  • B/S mode: browser/service mode. Such as: online shopping or forums.

  • The Java EE architecture is mainly composed of components, containers, and services. In the entire Java EE, MVC is its core design idea.

  • The development of Struts is mainly to solve the development problem of the web layer, which can save the design cost.

Guess you like

Origin blog.csdn.net/qq_43759478/article/details/103786698