0. 基本知识
所谓超文本,用超链接的方法将各种不同空间的文字信息组织在一起的网状文本;
超文本作用,一种页面范式,来显示文本与文本之间相关的内容(就是带有超链接的文本,以及一些注释表明文字的格式等);
超文本格式,超文本标记语言(Hyper Text Markup Language,HTML)及富文本格式(Rich Text Form,RTF);
1. http协议
概念:Hyper Text Transfer Protocol,超文本传输协议;
目的:在于支持超文本的传输,更加广义一些就是支持资源的传输;
无状态表现:协议对于事物处理没有记忆能力,请求之间没有相关性;
无状态原因:静态网页,根据URL(对应唯一的超文本资源),请求返回相同的超文本;减少服务器开销;
无状态麻烦:动态网页要求客户体验,业务请求具有连续性,导致每次连接传送的数据量增大;
无状态助手:客户端cookie(记录用户名密码、定向广告、定制站点),服务器session(保存用户特有的信息);
基于文本麻烦:文本和强类型之间的转换;
2. Servlet
Servlets are the Java platform technology of choice for extending and enhancing Web servers. Servlets provide a component-based, platform-independent method for building Web-based applications, without the performance limitations of CGI(Common Gateway Interface) programs. And unlike proprietary server extension mechanisms(such as the Netscape Server API or Apache modules), servlets are server-and platform-independent. This leaves you free to select a "best of breed" strategy for your servers, platforms, and tools
3. web日常应用必须解决问题
请求参数绑定和校验Servlet API 并没有提供,程序员手动代码处理费时费力容易出错
请求业务逻辑,工作流模式包含大量相同的逻辑
国际化,使得网页用户体验更好
4. 框架
目的:更快更好构建应用
标准:结构化层度
手段:针对某一特定领域具体业务流程或任务进行抽象
待续……
References
1. http://baike.baidu.com/view/156868.htm 超文本
2. http://www.oracle.com/technetwork/java/javaee/servlet/index.html Java Servlet Technology Overview
分享到:
相关推荐
main Page table of content copyright effective software
很经典, 不过, 这是英文版的, 希望对大家有帮助. 本书作者列举了600多个来自现实世界中的例子来向我们展示如何鉴别好的(或坪的)代码:如何去阅读它,从中去找寻什么,以及如何利用这种技巧来提升我们自身编写的...
Apache Struts 2 is an elegant, extensible framework for building enterprise-ready Java web applications. Distributions of Struts 2 are available as a free download under the Apache License. For more ...
Apache Struts 2 is an elegant, extensible framework for building enterprise-ready Java web applications. Distributions of Struts 2 are available as a free download under the Apache License. For more ...
RubySMB 这是SMB协议系列的本机Ruby实现。 目前支持: RubySMB库为协议提供了客户端级别和数据包级别的支持。 用户可以解析和处理原始SMB数据包,或使用客户端执行更高级别的SMB操作。 有关该项目的长期目标,...
version : " 3 "services : burn-after-reading : image : docker.pkg.github.com/tethik/burn-after-reading/burn-after-reading:latest environment : - MAX_CONTENT_LENGTH=16777216 - BURN_DATA_PATH=/opt/...
CODE系列——代码阅读方法与实践
Reading: Tests and assessment techniques (2nd ed.). London: Houghton & Stoughton, 342 pp. [dollar]12.30. (Available also through International Reading Association, Newark, DE) B O O K R E V I E W S...
本人对于深度残差网络理解以及深度残差网络论文原文(作者何凯明)
Learn web scraping and crawling techniques to access unlimited data from any web source in any format. With this practical guide, you’ll learn how to use Python scripts and web APIs to gather and ...
专业
This book intends to expound the complete concept of Web in Theory, Web in Research and Web in Practice with the help of worked out examples for better understanding. Planned as a comprehensive ...
Code Reading The Open Source PerspectiveCode Reading The Open Source Perspective
lua_reading:Lua 5.3.0源码阅读,阅读过程中加入注释方便理解
Reading The project records the notes for my reading history, including tech and other.Content # Title Author(s) Rating 1 :star: :star: :star: :star: :star: 2钟华(花名:古谦) :star: :star: :star: :star...
Docker-in-Action.pdf In 2011, I started working at Amazon.com. In that first week my life was changed as I learned how to use their internal build, dependency modeling, and deployment tool- ing. This ...
javac-source-code-reading:javac源码调试
删除会员专用内容的文章阅读限制。 极其轻巧,快速的解决方案,可无限制地阅读优质文章! ... 这不是对漏洞的利用,因为Medium故意使来自Twitter的访问者能够不受限制地阅读。 问与答 问:合法吗?...
we_chat_reading:扑高仿微信读书
(Eds.) Specific reading disability: Advances in theory and method. Rotterdam: Rotterdam University Press, 1970, 166 p., [dollar]12.35 B O O K R E V I E W S GILBERT R. GREDLER Tern ple ...