毕业论文外文翻译-MySQL和JSP的Web应用程序.doc

上传人:marr****208 文档编号:132359380 上传时间:2020-05-14 格式:DOC 页数:24 大小:531.50KB
返回 下载 相关 举报
毕业论文外文翻译-MySQL和JSP的Web应用程序.doc_第1页
第1页 / 共24页
毕业论文外文翻译-MySQL和JSP的Web应用程序.doc_第2页
第2页 / 共24页
毕业论文外文翻译-MySQL和JSP的Web应用程序.doc_第3页
第3页 / 共24页
毕业论文外文翻译-MySQL和JSP的Web应用程序.doc_第4页
第4页 / 共24页
毕业论文外文翻译-MySQL和JSP的Web应用程序.doc_第5页
第5页 / 共24页
点击查看更多>>
资源描述

《毕业论文外文翻译-MySQL和JSP的Web应用程序.doc》由会员分享,可在线阅读,更多相关《毕业论文外文翻译-MySQL和JSP的Web应用程序.doc(24页珍藏版)》请在金锄头文库上搜索。

1、东华理工大学毕业设计 外文翻译 外文翻译题 目 订单管理系统的设计与实现 学 生 姓 名 申请学位门类 工 学 学 号 学 院 信息工程学院 专 业 信息工程 校内指导教师 职称 副教授 信息工程学院二一六 年 六月MySQL and JSP Web applicationsJSP developers encounter unique problems when building web applications that require intense database connectivity. MySQL and JSP Web Applications addresses the c

2、hallenges of building data-driven applications based on the JavaServer Pages development model. MySQL and JSP Web Applications begins with an overview of the core technologies required for JSP database development-JavaServer Pages, JDBC, and the database schema. The book then outlines and presents a

3、n Internet commerce application that demonstrates concepts such as receiving and processing user input, designing and implementing business rules, and balancing the user load on the server. Through the JDBC (Java DataBase Connector), the developer can communicate with most commercial databases, such

4、 as Oracle. The solutions presented in MySQL and JSP Web Applications center on the open source tools MySQL and Tomcat, allowing the reader an affordable way to test applications and experiment with the books examples.So What Is JSP All About? If you meet the requirements mentioned, you should alrea

5、dy have a pretty good idea what the answer to this question is. JSP is all about doing highly object-oriented Web sites that can leverage all the best practices of modern software engineering. These practices include things such as SQL databases and UML-based design. This isnt to say that JSP is a c

6、ure-all and that using it will automatically make your Web site a paragon of engineering art. Its just as possible to design bad Web sites in JSP as with any other technology. Thats why, as you go through the text, you will see how to incorporate the best practices and how to avoid the pitfalls of c

7、onvenience when projects get stressful. JSP itself is an evolutionary step along the path that started with the first static Web servers, moved through CGI-enabled servers, and finally the first generation of script-enabled servers. JSP is less a Web server with a Java component than it is a Java en

8、gine that understands the Web.JSP grew out of Java servlets. Servlets allow the developer to handle the incoming Web requests using a Java program that has access to all the normal information that a Common Gateway Interface (CGI) program would. In addition, the servlet has access to session-persist

9、ent objects. These are Java objects that are associated with a specific user session and can be used to store state between requests. Servlet programming was a major step forward in allowing developers to write well-structured modular Web applications using an object-oriented language. It also solve

10、d the problem of state persistence, allowing more information to reside on the server during a transaction and less to have to pass back and forth between the user and the server. Servlets still suffered from one major problem. Because they eventually need to spit out HTML, the HTML coding had to be

11、 embedded in the servlet code. This led to code fragments like the one shown here: Out.println(nnThank you for Registeringn); Out.println(); This kind of embedding gets very old very fast when you have to code a lot of pages. In addition, having to escape all of the quotation marks can lead to a lot

12、 of confusing and hard-to-find errors if you leave out a backslash. Eventually, a still-better idea emerged. Suppose that you could combine the best of static HTML pages and with the interactive capabilities of servlets. The result was JavaServer Pages (on the Microsoft side, the result was Active S

13、erver Pages). As Figure I.1 shows, JSP is a complicated beast. In the next chapter, youll walk through this flow in detail, but for the moment, here are the major steps: 1. A request comes in from a browser using the normal HTTP request format. 2. The Web server hands off the request to JSP. JSP loo

14、ks at the filename and finds the appropriate JSP file. 3. The .jsp file is converted into a .java file, containing Java code that will create a class whose name is derived from the .jsp filename. 4. JSP then compiles the .java file using javac to produce a .class file. Note that the two previous steps are skipped if a .class file already exists and is newer than the .jsp file. 5. An instance of the newly created class is instantiated and sent the _jspService message. 6. The new instance looks to see if there is already an instance of the stuff.User object called user existing in the

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号