企業(yè)即時(shí)通 ------畢業(yè)設(shè)計(jì)外文翻譯(外文原文+中文翻譯).doc
約18頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
企業(yè)即時(shí)通 ------畢業(yè)設(shè)計(jì)外文翻譯(外文原文+中文翻譯),1. tipsif 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 s...
內(nèi)容介紹
此文檔由會(huì)員 wanli1988go 發(fā)布
1. Tips
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’re coming from a traditional programming perspective. Although Java is very useful for solving traditional standalone programming problems, it is also important because it will solve programming problems on the World Wide Web. What is the Web?
The Web can seem a bit of a mystery at first, with all this talk of “surfing,” “presence,” and “home pages.” It’s helpful to step back and see what it really is, but to do this you must understand client/server systems, another aspect of computing that is full of confusing issues. The primary idea of a client/server system is that you have a central repository of information, some kind of data, often in a database。That you can distribute on demand to some set of people or machines. The basic concept of client/server computing, then, is not so complicated. The problems arise because you have a single server trying to serve many clients at once.
Building a java chat server
Should I take this tutorial?
in this tutorial, we will build both the server and client sides of a simple chat system this tutorial is for someone with little or no experience doing networking programming. We’ll cover topics such as networking and multithreading in enough detail so that you'll be able to follow the examples, even if you have little or no experience doing this kind of programming. You will, however, need to be familiar with basic object-oriented programming in the Java language. In this tutorial, you'll build a simple, centralized, connection-oriented Java server. In doing so, you'll learn a basic framework that you can use when creating such a server, using time-honored techniques that work well in many situations.
1.提示
Java作為另外一種計(jì)算機(jī)編程語(yǔ)言,你可能會(huì)問(wèn)為什么它是如此重要,為什么它在計(jì)算機(jī)編程方面被宣傳為一項(xiàng)革命性的一步。如果你以傳統(tǒng)的編程態(tài)度來(lái)看答案是不明顯的。雖然java解決傳統(tǒng)的單機(jī)編程問(wèn)題非常有用的,但它解決網(wǎng)絡(luò)編程問(wèn)題也是非常有用的。
什么是web?當(dāng)“沖浪”,“在線(xiàn)”,“主頁(yè)”被談?wù)摰臅r(shí)候web好像有點(diǎn)神秘。要想解開(kāi)web的神秘,你必須了解客戶(hù)機(jī)/服務(wù)器系統(tǒng),另一個(gè)關(guān)于計(jì)算機(jī)的充滿(mǎn)困惑的問(wèn)題。客戶(hù)機(jī)/服務(wù)器系統(tǒng)的主要構(gòu)思是一個(gè)中央儲(chǔ)存庫(kù)的資料,往往是放在數(shù)據(jù)庫(kù)中的一些資料,然后可以滿(mǎn)足一些人或者是機(jī)器的需求??蛻?hù)機(jī)/服務(wù)器的基本概念并不是那么復(fù)雜,這個(gè)概念的提出你有一個(gè)單一的服務(wù)器試圖在同一時(shí)刻服務(wù)于許多客戶(hù)。
建立一個(gè)語(yǔ)音聊天室服務(wù)器:
我應(yīng)該借這個(gè)補(bǔ)習(xí)一下嗎?
在本教程中,我們將建立兩個(gè)服務(wù)器和客戶(hù)端雙方的一個(gè)簡(jiǎn)單的聊天室,系統(tǒng)中的補(bǔ)習(xí),是為某人與很少或沒(méi)有經(jīng)驗(yàn),做網(wǎng)絡(luò)規(guī)劃。,如果我們涵蓋的課題如網(wǎng)絡(luò)和多線(xiàn)程不夠詳細(xì),將在以后列舉例子,即使你有很少或沒(méi)有做這樣的項(xiàng)目的經(jīng)驗(yàn)。不過(guò)你需要熟悉基本的面向?qū)ο缶幊淘贘ava語(yǔ)言。在本教程中,你將建立一個(gè)簡(jiǎn)單的,集中的,面向連接Java服務(wù)器。制造這樣一臺(tái)服務(wù)器,你將學(xué)到一個(gè)基本框架,不過(guò)需要長(zhǎng)時(shí)間的努力。
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’re coming from a traditional programming perspective. Although Java is very useful for solving traditional standalone programming problems, it is also important because it will solve programming problems on the World Wide Web. What is the Web?
The Web can seem a bit of a mystery at first, with all this talk of “surfing,” “presence,” and “home pages.” It’s helpful to step back and see what it really is, but to do this you must understand client/server systems, another aspect of computing that is full of confusing issues. The primary idea of a client/server system is that you have a central repository of information, some kind of data, often in a database。That you can distribute on demand to some set of people or machines. The basic concept of client/server computing, then, is not so complicated. The problems arise because you have a single server trying to serve many clients at once.
Building a java chat server
Should I take this tutorial?
in this tutorial, we will build both the server and client sides of a simple chat system this tutorial is for someone with little or no experience doing networking programming. We’ll cover topics such as networking and multithreading in enough detail so that you'll be able to follow the examples, even if you have little or no experience doing this kind of programming. You will, however, need to be familiar with basic object-oriented programming in the Java language. In this tutorial, you'll build a simple, centralized, connection-oriented Java server. In doing so, you'll learn a basic framework that you can use when creating such a server, using time-honored techniques that work well in many situations.
1.提示
Java作為另外一種計(jì)算機(jī)編程語(yǔ)言,你可能會(huì)問(wèn)為什么它是如此重要,為什么它在計(jì)算機(jī)編程方面被宣傳為一項(xiàng)革命性的一步。如果你以傳統(tǒng)的編程態(tài)度來(lái)看答案是不明顯的。雖然java解決傳統(tǒng)的單機(jī)編程問(wèn)題非常有用的,但它解決網(wǎng)絡(luò)編程問(wèn)題也是非常有用的。
什么是web?當(dāng)“沖浪”,“在線(xiàn)”,“主頁(yè)”被談?wù)摰臅r(shí)候web好像有點(diǎn)神秘。要想解開(kāi)web的神秘,你必須了解客戶(hù)機(jī)/服務(wù)器系統(tǒng),另一個(gè)關(guān)于計(jì)算機(jī)的充滿(mǎn)困惑的問(wèn)題。客戶(hù)機(jī)/服務(wù)器系統(tǒng)的主要構(gòu)思是一個(gè)中央儲(chǔ)存庫(kù)的資料,往往是放在數(shù)據(jù)庫(kù)中的一些資料,然后可以滿(mǎn)足一些人或者是機(jī)器的需求??蛻?hù)機(jī)/服務(wù)器的基本概念并不是那么復(fù)雜,這個(gè)概念的提出你有一個(gè)單一的服務(wù)器試圖在同一時(shí)刻服務(wù)于許多客戶(hù)。
建立一個(gè)語(yǔ)音聊天室服務(wù)器:
我應(yīng)該借這個(gè)補(bǔ)習(xí)一下嗎?
在本教程中,我們將建立兩個(gè)服務(wù)器和客戶(hù)端雙方的一個(gè)簡(jiǎn)單的聊天室,系統(tǒng)中的補(bǔ)習(xí),是為某人與很少或沒(méi)有經(jīng)驗(yàn),做網(wǎng)絡(luò)規(guī)劃。,如果我們涵蓋的課題如網(wǎng)絡(luò)和多線(xiàn)程不夠詳細(xì),將在以后列舉例子,即使你有很少或沒(méi)有做這樣的項(xiàng)目的經(jīng)驗(yàn)。不過(guò)你需要熟悉基本的面向?qū)ο缶幊淘贘ava語(yǔ)言。在本教程中,你將建立一個(gè)簡(jiǎn)單的,集中的,面向連接Java服務(wù)器。制造這樣一臺(tái)服務(wù)器,你將學(xué)到一個(gè)基本框架,不過(guò)需要長(zhǎng)時(shí)間的努力。