下载此文档

96.本科毕业设计外文翻译(附外文原文).doc


文档分类:外语学习 | 页数:约35页 举报非法文档有奖
1/35
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/35 下载此文档
文档列表 文档介绍
本科毕业设计(论文)
外文翻译(附外文原文)
系 ( 院 ): 信息科学与工程学院
课题名称: 学生信息管理系统

专业(方向):计算机科学与技术(应用)
班 级: 计本06-1班
学 生: 赵兴哲
指导教师: 董明刚
日 期: 2010年4 月
Enter ActionMappings
The Model 2 architecture (see chapter 1) encourages us to use servlets and Java-
Server Pages in the same application. Under Model 2, we start by calling a servlet.
The servlet handles the business logic and directs control to the appropriate page
to complete the response.
The web application deployment descriptor () lets us map a URL pattern
to a servlet. This can be a general pattern, like *.do, or a specific path, like
.
Some applications implement Model 2 by mapping a servlet to each business
operation. This approach works, but many applications involve dozens or hundreds
of business operations. Since servlets are multithreaded, instantiating so manyservlets is not the best use of server resources. Servlets are designed to handle any
number of parallel requests. There is no performance benefit in simply creating
more and more servlets.
The servlet’s primary job is to interact with the container and . Handling
a business operation is something that a servlet could delegate to another component.
Struts does this by having the ActionServlet delegate the business operation
to an object. Using a servlet to receive a request and route it to a handler is known
as the Front Controller pattern [Go3].
Of course, simply delegating the business operation to another component
does not solve the problem of mapping URIs [W3C, URI] to business operations.
Our only way of communicating with a web browser is through requests and
URIs. Arranging for a URI to trigger a business operation is an essential part of
developing a web application.
Meanwhile, in practice many business operations are handled in similar ways.
Since Java is multi

96.本科毕业设计外文翻译(附外文原文) 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数35
  • 收藏数0 收藏
  • 顶次数0
  • 上传人rovend
  • 文件大小172 KB
  • 时间2021-07-11