⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 http:^^www.cs.utexas.edu^users^hiep^netjav.html

📁 This data set contains WWW-pages collected from computer science departments of various universities
💻 HTML
字号:
MIME-Version: 1.0
Server: CERN/3.0
Date: Monday, 06-Jan-97 21:34:25 GMT
Content-Type: text/html
Content-Length: 7670
Last-Modified: Wednesday, 15-Nov-95 19:02:14 GMT

<HTML><!-- This document is in HyperText Markup Language.  HTML tags are enclosed  -- in angle brackets. This is a comment tag and won't be displayed as part  -- of your document. --><!-- ====================================================================== --><HEAD><TITLE>The Netrek-Java Project</TITLE></HEAD><BODY background="gopaper.gif"><hr width=75% size=5><center><h1>			The Netrek-Java Project </h1>				by	 		   <!WA0><A HREF="http://www.cs.utexas.edu/users/hiep"> 			Hiep H Nguyen</a> <br>		http://www.cs.utexas.edu/users/hiep/netjav.html</center><h2>Table Of Contents:</h2><ul>	<li> <!WA1><a href = "#Proposal"> Proposal </a> 	<li> <!WA2><a href = "#Netrek"> Why Netrek? </a>	<li> <!WA3><a href = "#Java"> Why Java? </a>	<li> <!WA4><a href = "#Methodology"> Methodology </a>	<li> <!WA5><a href = "#Drawbacks"> Java's Possible Drawbacks </a>	<li> <!WA6><a href = "#Who"> Who is working on this? </a>	<li> <!WA7><a href = "#HelpOut"> Helping Out (Signing on and Suggestions) </a>	<li> <!WA8><a href = "#WebSites"> Related Web Sites </a></ul><h2><a name ="Proposal"> Proposal </a></h2>	We propose the gradual porting and migration from C to Java ofthe client code for Netrek, a popular, interactive, multi-user videogame on the internet.  This will allow Netrek to run in allapplications and an on all platforms running Java (i.e. Netscape,HotJava, Solaris, WindowsNT). The goal is to produce a pure Javaapplication using the graphics, networking and security features ofJava, and to develop a methodology for gradual code porting from C toJava. This project will also demonstrate that Java can handleinteractive, networked application with real-time graphics. The resultwill be an impressive video-game for the World Wide Web.<h2>  <a name = "Netrek"> Why Netrek?</a> </h2>	Netrek is one of the most popular, real-time, networkedvideo-game on the internet. It has a wide user base, and is anexcellent demonstration of networking, and of graphicscapabilities. It has a simple graphics engine, and it is not crucialfor the graphics to run fast like other commercial video games, sinceit was written with networking in mind. (The true speed bottleneck ofa game like Netrek is the communication between a Netrek client andserver). Netrek has also been ported many times to many platforms,thus the modular structure is present for gradual code porting. Forexample, the first stage of the code port would involve writing agraphics wrapper in Java for the Netrek graphics engine, thus keepingall the other C code in tact. Also there the number of files andfunctions in a Netrek client is not trivial. It will be a good test ofhow well Java handles a large application like Netrek.<h2>  <a name = "Java"> Why Java?</a> </h2>	Java allows portable code, that can be updated without havingusers download new clients for each new release. It also allows bettergraphics (i.e. true images instead of bitmaps, thus we can use a giffor all ships and planets). It will already have support fornetworking, and security. It will decrease the need to port Netrek tonew systems.<h2> <a name ="Methodology"> Methodology </a> </h2>We propose the gradual porting of the client code of Netrek to Java,by using the facilities for calling native C code from Java. Javagraphics and networking methods will replace the client codeequivalent. The process will involve:<ul>	<li>  Identifying the C functions that must be called from Java.		In the most trivial instance we can have one wrapper		method call the C function main(). In the general case,		we will put more and more of the functionality in Java,		such as the graphics, and networking. 	<li>  Identifying Java functions that will replace the client code. 	<li>  Testing the functionality of the Client Code. 				For every migration of a C file to Java, the functionality		of Netrek should remain the same.		<li>  Repeat the process until all C code has been ported to Java.</ul>The porting can be broken up into 3 main phases. <ul>	<li>  Port the graphics engine to Java.	<li>  Port the networking engine to Java.	<li>  Port the rest of the files to Java.</ul><h2>  <a name = "Drawbacks"> Java's Possible Drawbacks </a> </h2>	The following are possible questions that this project willanswer directly relevant to Java? We will test these possibledrawbacks of Java:<ul> 		<li>  Speed:	In any video game, the drawback is of course, speed. The firstspeed drawback is in starting the game. The client must be downloadedto the user when he starts the game. Of course when, using a browserlike HotJava, cacheing can be turned on thus speeding up the processconsiderably on the next invocation of Netrek. The second Speedproblem is in the graphics engine. It is not clear how fast Java isfor graphics. On a Sparc station the speed should be enough, but whatabout on other platforms like the Macintosh and WindowsNT? Withbetter hardware, the speed problem should be reduced, but this projectwill truly test the graphics capabilities of Java. The third speedproblem is in the networking engine. Netrek uses many different methodsfor having smaller and fewer packets in order to increase speed andreduce lag. Can this be done in Java?		<li>  Security:	Another consideration is Security. Currently Netrek uses RSAsecurity. Will Java provide comparable security? Will the securityfeatures in Java be to strict, thus forcing difficult work arounds?	<li>  Size of Code:The third drawback is size. Will the Java Client be small enough tofit on most platforms. Will the Client code take too much resources,making multitasking between other tasks and Netrek impossible, onsmaller systems such as the PC's?</ul> <h2>  <a name = "Who"> Who is working on this? </a> </h2>Currently the people working on this project are:<ul><li> Jason L. Asbahr (jason@fisher.psych.uh.edu) <li> Spencer Bishop (sbishop@cs.utexas.edu)<li> Stephen Paul Carl (esteban@cs.utexas.edu)<li> Amanda Chou (achou@cs.utexas.edu)<li> Alec Habig (ahabig@bigbang.astro.indiana.edu)<li> Charles Herring (herring@essayons.ncsa.uiuc.edu)	<li> Ted Hooban (ted.hooban@telos.com)<li> Craig Howland (Craig.Howland@Eng.Sun.COM)<li> Geri Monsen (gmonsen@comet.lbl.gov) <li> Bach Nguyen (jsbach@ix.netcom.com)<li> Hiep H Nguyen (hiep@cs.utexas.edu)<li> Joey Oravec (joey@gopher.chem.wayne.edu)<li> Matthew Pearson (mpearson@m3.pcix.com)<li> Others: If I forgot your name, <!WA9><a href="mailto:hiep@cs.utexas.edu">Please email me (hiep@cs.utexas.edu) </a></ul><h2> <a name = "HelpOut">  Helping Out </a> </h2>Any help on this project in terms of time, knowledge, comments,suggestions or money will be greatly appreciated. This project isparticularly suited for those interested in Java, Web-Programming andreal-time video games for the Internet. <br>Please<!WA10><a href="mailto:hiep@cs.utexas.edu"> email me athiep@cs.utexas.edu </a> if you have any comments, suggestion or if youwould like to sign on for this project.<h2> <a name = "WebSites"> Related Web Site </a> </h2> <ul><li>	 <!WA11><a href="http://www.cs.utexas.edu/users/hiep/netjav.html"> This document: http://www.cs.utexas.edu/users/hiep/netjav.htm </a><li>  <!WA12><a href="http://java.sun.com"> Java Page: http://java.sun.com </a><li>  <!WA13><a href="http://factoryx.factoryx.com"> Netrek Page: http://factoryx.factoryx.com </a><li>  <!WA14><a href="http://www.sdsc.edu/vrml"> Virtual Reality VRML Page: http://www.sdsc.edu/vrml</a><ul><!-- ====================================================================== --></BODY><!-- ====================================================================== --></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -