JavaWeb
- Using the Java language to develop Internet-based project
Software Architecture:
C / S: Client / Server Client / server
- Features: users have a local client, the remote has a server-side program, such as: QQ, Thunder ...
- Pros: good user experience
- Drawback : the development, installation, deployment, maintenance problems
B / S: Browser / Server browser / server
- Features: requires only a browser, users on different URLs (URL), different client access server-side program
- Pros: development, installation, deployment, easy maintenance
- Disadvantages: If the application is too large, the user experience may be affected, the hardware requirements are too high
B / S architecture Comments
Resource Category:
- Static Resource: Using static web development technology resources released.
Features: All user access, the result is the same. Such as: text, images, audio, video, HTML, CSS, JavaScript, if a user requests a static resource, then the server will be sent directly to the static resources to the browser. Browser built into parsing engine static resources, you can display static resources.
- Dynamic resource: the use of resources and timely release of the dynamic web page.
Features: access by all users, the result may be different. Such as: jsp / servlet, php, asp ... if a user requests a dynamic resource, then the server performs a dynamic resource, into static resource, and then sent to the browser. We should learn from dynamic resource, we must first learn static resource!
Static resources Three Musketeers:
- HTML : the foundation for building web pages, display the contents of the page
- CSS: to beautify the page, the page layout
- JavaScript: control elements of the page, so that page has some dynamic effects