java网上销售外文文献_JAVA外文文献+翻译.docx

本文讨论了Java作为一种编程语言在解决Web上的编程问题的重要性。Java不仅适用于传统的独立编程,还在Web上提供客户端编程解决方案,通过CGI与服务器交互,实现动态网页。然而,基于CGI的网站维护复杂且响应速度受数据量影响。
摘要由CSDN通过智能技术生成

燕山大学本科生毕业设计(翻译)

Java and the Internet

If Java is, in fact, yet another computer programming language, you may question why it is so important and why it is being promoted as a revolutionary

step in computer programming. The answer isn ’ t immediately obvious if you coming from a traditional programming perspective. Although Java is very useful for solving traditional stand-alone programming problems, it is also important because it will solve programming problems on the World Wide Web.

1. Client-side programming

The Web’ s intial server-browser design provided for interactive content, but

the interactivity was completely provided by the server. The server produced

static pages for the client

browser, which would

simply interpret and display

them. Basic HTML contains simple mechanisms for data gathering: text-entry

boxes, check boxes, radio boxes, lists and drop-down lists, as well as a button

that can only be programmed to reset the data on the form or

“ submit ”

on the form back to the server. This submission passesthrough the Common

Gateway Interface (CGI)

provided on all Web servers. The text within

the

submission tells CGI what

to do with it. The most

common action is to run a

program located on the server in a directory that

’ s typically-bin. ”called(If

you watch the address window

at the top of your browser when you push a

button on a Web page, you

can sometimes see “ cgi-bin ”within all

the

gobbledygook there.) These programs can be written in most languages. Perl is a common choice because it is designed for text manipulation and is interpreted, so it can be installed on any server regardless of processor or operating system.

Many powerful Web sites today are built strictly on CGI, and you can in fact do nearly anything with it. However, Web sites built on CGI programs can rapidly become overly complicated to maintain, and there is also the problem of response time. The response of a CGI program depends on how much data must

1

燕山大学本科生毕业设计(翻译)

be sent,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值