資源簡介
基于RMI分布計(jì)算實(shí)例(實(shí)現(xiàn)兩個(gè)矩陣相乘)-RMI based distributed computing Example (2 matrix multiplication achieve)
代碼片段和文件信息
//Constants.java
package?chapter9;
import?java.io.FileInputStream;
import?java.util.Properties;
/**
?*?為了程序維護(hù)方便,把一些常量定義在該類中,
?*?該類從一個(gè)屬性文件中讀取用戶設(shè)置的參數(shù)。
?*/
public?class?Constants?{
//++缺省的服務(wù)器名稱和端口,服務(wù)名
public?static?final?String?DEFAULT_SERVER;
public?static?final?String?DEFAULT_PORT;
public?static?final?String?SERVICE_NAME;
//--缺省的服務(wù)器名稱和端口,服務(wù)名
//++定義A、B矩陣的行列數(shù)
public?static?final?int?ROWS_A;
public?static?final?int?COLUMNS_A;
//B的行數(shù)要與A的列數(shù)相等
public?static?final?int?ROWS_B;
public?static?final?int?COLUMNS_B;
//--定義A、B矩陣的行列數(shù)
//++把矩陣分為兩部分進(jìn)行計(jì)算,進(jìn)行起始行數(shù)和要計(jì)算的行數(shù)進(jìn)行分割
//第一部分的起始行數(shù)
public?static?final?int?PART1_START?=?0;
//第一部分的行數(shù)
public?static?final?int?PART1_LEN;
//第二部分的起始行數(shù)
public?static?final?int?PART2_START;
//第二部分的總行數(shù)
public?static?final?int?PART2
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????242??2004-12-27?03:29??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\.classpath
?????文件????????503??2004-12-27?03:01??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\.project
?????文件???????1715??2005-03-27?01:52??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\Constants.class
?????文件????????232??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\MatrixServer.class
?????文件???????1550??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\MatrixTask.class
?????文件???????2300??2005-03-27?01:54??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\MyThread.class
?????文件???????4048??2005-03-27?01:54??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\NetC.class
?????文件???????1984??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\NetS.class
?????文件???????1723??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\NetS_Skel.class
?????文件???????3281??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\NetS_Stub.class
?????文件????????152??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9\Task.class
?????文件???????4161??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build.xm
?????文件????????369??2005-01-10?00:18??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\ch9.properties
?????文件?????????82??2005-03-27?01:11??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\client.bat
?????文件??????11033??2005-03-27?00:47??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\lib\book.jar
?????文件?????????53??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\server1098.bat
?????文件?????????53??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\server1099.bat
?????文件???????1958??2005-03-27?01:52??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9\Constants.java
?????文件????????171??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9\MatrixServer.java
?????文件???????1471??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9\MatrixTask.java
?????文件???????6901??2005-03-27?01:54??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9\NetC.java
?????文件???????1362??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9\NetS.java
?????文件????????195??2005-03-27?00:42??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9\Task.java
?????文件?????????96??2005-01-09?23:05??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\vssver.scc
?????目錄??????????0??2013-04-10?15:07??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes\chapter9
?????目錄??????????0??2013-04-10?15:07??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build\classes
?????目錄??????????0??2013-04-10?15:07??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src\chapter9
?????目錄??????????0??2013-04-10?15:07??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\build
?????目錄??????????0??2013-04-10?15:07??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\lib
?????目錄??????????0??2013-04-10?15:07??基于RMI分布計(jì)算實(shí)例java源代碼\chapter9\src
............此處省略5個(gè)文件信息
評(píng)論
共有 條評(píng)論