资源描述
附录A中文译文
Jsp技术介绍
JSP(JAVA SERVER PAGES)是由Sun Microsystems 公司倡导、许多公司参与一起建立的一种动态网页技术标准,其在动态网页的建设中有其强大而特别的功能,他主要用于创建可支持跨平台及跨Web服务器的动态网页。JSP可与微软的Active Server Pages (ASP)相媲美,但JSP使用的是类似于HTML的标记和Java 代码片段而不是用VBScript。当你使用不提供ASP本地支持的Web服务器(例如 Apache或Netscape服务器)时,你就可以考虑使用JSP了。
Java Server Pages技术可以让web开发人员和设计人员非常容易的创建和维护动态网页,特别是目前的商业系统。作为JavaTM技术的一部分,JSP能够快速开发出基于web独立平台的应用程序。JSP 把用户界面从系统内容中分离开来,使得设计人员能够在不改变底层动态内容的前提下改变整个网页布局。
那么什么是Java Server Page呢?简单的说,一个JSP网页就是在HTML网页中包含了能够生成动态内容的可执行应用程序代码。此应用程序可能包含JavaBeanTM,JDBCTM对象,Enterprise Java BeanTM (E J B )和Remote Method Invocation (RMI)对象,所有的部分都可以非常容易的从JSP网页上访问到。例如,一个JSP网页可以包含 HTML代码所显示的静态文本和图像,也可以调用一个JDBC对象来访问数据库;当网页显示到用户界面上以后,它将包含静态HTML内容和从数据库中找到相应的动态信息。
在JSP网页中,要把用户界面和应用程序分开可以考虑在网页设计人员和开发人员之间执行一个非常方便的授权任务。它也允许开发人员去建立灵活的代码,从而非常容易的进行更新和重复利用。由于JSP网页能够根据需要自动进行编译,web设计人员无须重新编译应用程序逻辑就可以改变表述代码。这也使得JSP与Java servlet(它是Java Sever Pages功能的扩展)相比成为一种可以更灵活生成动态web内容的方法。
在 Sun 正式发布 JSP(JavaServer Pages) 之后,这种新的 Web 应用开发技术很快引起了人们的关注。JSP 为创建高度动态的 Web 应用提供了一个独特的开发环境。按照 Sun 的说法,JSP 能够适应市场上包括 Apache WebServer 、IIS4.0 在内的 85% 的服务器产品。即使您对 ASP或PHP、CGI 一往情深,我们认为,关注 JSP 的发展仍旧很有必要,这是基于以下的比较分析。
JSP 与 Microsoft 的 ASP、PHP 技术非常相似。ASP 的编程语言是 VBScript 之类的脚本语言,JSP 使用的是 Java,这是他们最明显的区别。此外,ASP、PHP 与 JSP 还有一个更为本质的区别:两种语言引擎用完全不同的方式处理页面中嵌入的程序代码。在 ASP 下,VBScript 代码被 ASP 引擎解释执行;在 JSP 下,代码被编译成 Servlet 并由 Java 虚拟机执行,这种编译操作仅在对 JSP 页面的第一次请求时发生。
事实证明,Java Servlet 是一种开发 Web应用的理想构架。JSP 以 Servlet 技术为基础,又在许多方面作了改进。利用跨平台运行的 JavaBean 组件,JSP为分离处理逻辑与显示样式提供了卓越的解决方案。JSP必将成为其它动态网页技术的有力竞争者。
JSP技术特点:
1.将内容的生成和显示进行分离
使用JSP技术,Web页面开发人员可以使用HTML或者XML标识来设计和格式化最终页面。使用JSP标识或者小脚本来生成页面上的动态内容。生成内容的逻辑被封装在标识和JavaBeans组件中,并且捆绑在小脚本中,所有的脚本在服务器端运行。如果核心逻辑被封装在标识和Beans中,那么其他人,如Web管理人员和页面设计者,能够编辑和使用JSP页面,而不影响内容的生成。
在服务器端,JSP引擎解释JSP标识和小脚本,生成所请求的内容(例如,通过访问JavaBeans组件,使用JDBCTM技术访问数据库,或者包含文件),并且将结果以HTML(或者XML)页面的形式发送回浏览器。这有助于作者保护自己的代码,而又保证任何基于HTML的Web浏览器的完全可用性。
2.强调可重用的组件
绝大多数JSP页面依赖于可重用的,跨平台的组件(JavaBeans或者Enterprise JavaBeansTM组件)来执行应用程序所要求的更为复杂的处理。开发人员能够共享和交换执 行普通操作的组件,或者使得这些组件为更多的使用者或者客户团体所使用。基于组件的方法加速了总体开发过程,并且使得各种组织在他们现有的技能和优化结果的开发努力中得到平衡。
3.采用标识简化页面开发
Web页面开发人员不会都是熟悉脚本语言的编程人员。JavaServer Page技术封装了许多功能,这些功能是在易用的、与JSP相关的XML标识中进行动态内容生成所需要的。
标准的JSP标识能够访问和实例化JavaBeans组件,设置或者检索组件属性,下载Applet,以及执行用其他方法更难于编码和耗时的功能。通过开发定制化标识库,JSP技术是可以扩展的。今后,第三方开发人员和其他人员可以为常用功能创建自己的标识库。这使得Web页面开发人员能够使用熟悉的工具和如同标识一样的执行特定功能的构件来工作。
JSP技术很容易整合到多种应用体系结构中,以利用现存的工具和技巧,并且扩展到能够支持企业级的分布式应用。作为采用Java技术家族的一部分,以及Java 2(企业版体系结构)的一个组成部分,JSP技术能够支持高度复杂的基于Web的应用。
由于JSP页面的内置脚本语言是基于Java编程语言的,而且所有的JSP页面都被编译成为Java Servlet,JSP页面就具有Java技术的所有好处,包括健壮的存储管理和安全性。
作为Java平台的一部分,JSP拥有Java编程语言一次编写,各处运行的特点。随着越来越多的供应商将JSP支持添加到他们的产品中,您可以使用自己所选择的服务器和工具,更改工具或服务器并不影响当前的应用。
附录B英文原文
Jsp Technology Introduce
JSP (JAVA SERVER PAGES) was initiated by Sun Microsystems Inc., along with a number of companies involved in the establishment of a dynamic web of technical standards, its dynamic page-building has its strong and other special functions, he used to support the creation of an inter - Cross-platform Web server and dynamic pages. JSP with Microsoft's Active Server Pages (ASP) match, but the use of JSP is similar to the HTML tags and Java code fragment, rather than using VBScript. When you use ASP to provide support for the local Web server (such as Apache or Netscape server), you may want to consider using the JSP.
JavaServer Pages technology allows web developers and designers are very easy to create and maintain dynamic web pages, especially the current business systems. JavaTM technology as a part of, JSP quickly developed based on the web, platform-independent applications. JSP user interface to the system from the content to leave the middle so that designers can not change the underlying dynamic content on the premise of the entire page layout changes.
So what does it JavaServer Page? In short, a JSP page is included in the HTML pages to generate dynamic content of the application executable code. This application may contain JavaBeanTM, JDBCTM object, Enterprise Java BeanTM (EJB) and Remote Method Invocation (RMI) objects, all can be part of a very easy from the JSP page to visit. For example, a JSP page can contain HTML code shown in static text and images can also be a call to JDBC access to database objects; when the page display to the user interface, which will include static HTML content from the database and find the corresponding dynamic Information.
In the JSP page, the user interface is necessary and applications can be considered separately from the web designers and developers a very convenient between the implementation of the mandate. It also allows developers to build flexible code, which is very easy to update and re-use. As the JSP page as needed to automatically compile, web designers no need to recompile the application logic will be able to change the code statements. This also makes JSP and Java servlet (it is a function of the expansion of JavaSever Pages) compared to a more flexible and dynamic generation of web content.
Sun published in the official JSP (JavaServer Pages), this new Web application development technology quickly attracted attention. JSP to create a highly dynamic Web application provides a unique development environment. In accordance with Sun's view, JSP be able to adapt to the market, including the Apache WebServer, IIS4.0, 85% of the server products. Even if your ASP or PHP, CGI passion, we believe that concern the development of JSP is still necessary, which is based on the comparative analysis.
JSP and Microsoft's ASP, PHP is very similar to the technology. ASP is a programming language like VBScript scripting language, JSP using Java, this is the most obvious difference between them. In addition, ASP, PHP and JSP has a more essentially different: the two languages with the engine completely different approach embedded in the page code. ASP in the next, VBScript code was explained that implementation of the ASP engine; in the JSP, the code was compiled by the Servlet implementation of the Java Virtual Machine, which operate only in the compilation of JSP pages for the first time when the request.
Facts have proved that, Java Servlet is a Web application development framework for the ideal. JSP to Servlet technology, but also in many ways been improved. The use of cross-platform running JavaBean components, JSP for dealing with separation of logic and style show provides a superior solution. JSP is bound to become a dynamic web technology to other powerful competitors.
JSP Technical Characteristics:
1. The content will be generated and displayed for separation
The use of JSP technology, Web page developers can use HTML or XML format and logo design to the final page. JSP logo or the use of bound feet would have to generate dynamic content on the page. Content generated by the logic of the logo and packaging JavaBeans components, and tied up in a small script, the script all running on the server side. If the core logic is packaged into a logo and Beans, then others, such as managers and Web page designers, editors and be able to use the JSP page, without affecting the content of the generation.
On the server side, JSP engine explained JSP script logo and small, generated by the contents of the request (for example, by visiting JavaBeans components, the use of technology JDBCTM access the database, or file that contains), and the results will be in HTML (or XML) in the form of the page Sent back to the browser. This will help authors to protect their code without any guarantee that the HTML-based Web browser, full availability.
2. Emphasis on reusable components
The vast majority of JSP pages rely on reusable, cross-platform components (JavaBeans or Enterprise JavaBeansTM components) to carry out the required application is more complex to deal with. Developers to share and exchange the implementation of the general operation of the components, or components to make them more user or customer groups used. Component-based approach to accelerate the overall development process and make all kinds of organizations in their existing skills to develop and optimize the results of efforts to strike a balance.
3. Logo used to simplify the development of the page
Web page developers are not familiar with the scripting language programmers. JavaServer Page technology package a number of functions in easy-to-use, XML and JSP related to the identification of dynamic content generation needs.
JSP standard of identity and access to examples of JavaBeans components, or set up to retrieve component properties, to download Applet, as well as in other ways more difficult and time-consuming coding. Through the development of customized ID database, JSP technology can be extended. In the future, third-party developers and others can be used to create their own logo library. This Web page developers can use familiar tools and the same logo as the implementation of the specific features of the components to work.
JSP technology can easily be integrated into a variety of applications in architecture to take advantage of existing tools and techniques, and can be extended to support enterprise-class distributed applications. Use of Java technology as part of the family, as well as the Java 2 (Enterprise Architecture) as an integral part of, JSP technology can support a high degree of complex Web-based applications.
JSP page as a result of the built-in scripting language is based on the Java programming language, and all JSP pages have been compiled into Java Servlet, JSP on the page with all the benefits of Java technology, including robust storage management and security.
As part of the Java platform, JSP have prepared a Java programming language, running around characteristics. As more and more suppliers will be added to the JSP support their products, you can use their own choice of servers and tools, or tools to change the server does.
目 录
目 录
第一章 总 论 1
一、项目概述 1
二、可行性研究报告编制依据和范围 2
三、项目主要经济技术指标 3
四、******国家森林公园概况 3
第二章 项目背景及必要性 8
一、项目背景 8
二、项目建设的必要性与可行性 10
第三章 项目选址分析 13
一、项目选址 13
二、项目城市概况 13
三、经济发展概况 14
四、公共设施依托条件及施工条件 17
第四章 需求分析与建设规模 18
一、****国家森林公园现状与存在问题分析 18
二、****国家森林公园日容量预测 19
三、****国家森林公园景区厕所需求面积分析 20
四、****国家森林公园景区厕所建设规模的确定 20
第五章 项目建设方案 21
一、景区厕所工程建设方案 21
二、景区引水上山工程建设方案 27
三、基础设施工程建设方案 32
第六章 环境保护与劳动卫生安全 34
一、环境保护 34
二、劳动卫生与安全 35
第七章 节约能源 36
一、节能的相关法律及设计规范 36
二、节约资源措施 37
第八章 项目实施进度与管理 39
一、项目实施进度 39
二、项目管理 40
第九章 工程招标 44
一、招标依据及原则 44
二、项目招标范围及内容 45
第十章 投资估算及资金筹措 48
一、固定资产投资估算依据 48
二、投资估算资金筹措方案 48
第十一章 项目研究结论与建议 53
一、项目建成后可达到的预期目标 53
二、结论 53
三、建议 53
展开阅读全文