tedglewis@friction-free-economy.com file:///I:/tppmsgs/msgs88.htm#8823 |
- Java . , Java - , . Public Relations, , . Java PR . Computer IEEE Internet Computing, , , Java. , , Java , , . , , Java - , .
Java , , , , . , . , Java , .
? , , , , . , , ; . , ?! Java , - ! , , - , .
, Java - Microsoft ( - !). , Java. Java , JavaBeans IIOP (Internet - CORBA Java) - "" , . Java .
Java : , , . , ; , - .
: Java - , - - ? , : . -, Java - "" C/C++, , , , software engineering. , , , "pros and cons", , "pros" Java .
, 32 . , 32- - Win95 ! , , , - - , , , , ++, . , . : , .
- - . 1963 "UNCOL (Universal Common Language) Problem", . , UNCOL- . !..
, , , PL/1 ( C/C++ ?!). UNCOL. , , , ; - , , , . , C++... , , : , - .
Java 15- , ? : ? : , Java , . , , .
"Java--UNCOL" . , , 2000 30 . . Cobol-, 70- , , - - IBM, Andersen Consulting, EDS Fortune 500. . 2010 Java "".
- , Java. , . , , . "" - "" .
Java : -, , (API) .
"", , , , , . Java , C++, " " .
, , ; Java ? Java "" . Java - C++ ( , , - USSD P-code -). Java - UNIX, .
- Java, " "; , (servlets) , , Java.
: Java - , ? Java? , Java - .
, Java - . , C/C++. , Java - .
C "" "". , Java :
int i = ++ i-;
, C, Java ( ). !
Java C. , , . Java (!) : public, private, protected, static, final, native, synchronized, abstract, threadsafe transient. "" public Java. Static, final public . Native , , -.
Pascal, Java -, . , , Java. ( "" Pascal) Microsoft, "" Java.
(threads) - Java, ; , Java .
(lightweight threading) (heavyweight tasking) Unix. . Java " " (atomic procedures) . Java , .
|
, (.1). . L2 L1 , , T1. : L1 L2 , , T2. T1 T2 L1 L2. , ; - , (race conditions).
, Java ; , synchronized. , . , :
class LIST { synchronized public get (List L; char c) {...} } ... L1 = new LIST (...); L2 = new LIST (...);
"get" ; - L1 - L2. , T1 :
get (L1...); get (L2...);
T2 :
get (L2...); get (L1...);
|
, , . 1. T1 L1, - L2, T2 L2, L1 ( ). ( ) T1 , L1, T2 L2. T1, , T1 T2! T2, T1. (deadlock) .
, , . , . , , . , .
Java " " (path expressions) - Path Pascal. - , Java. , . , , .
Java , , - -. , , Sun : (embedded) . , , , "Java " , "Java ". - . , Sun . : Java. , , , " , ", , , " , ". Web-page
Java lingua franca , Java , . , Java Foundation Classes (JFC) Java. Microsoft's Foundation Classes, - Microsoft - , Java Windows API. , Microsoft, - Java .
- , , , . Internet.
Java 20 . , . Java - - Ford Taurus, .
, Java , HTTP , , , "". , , - - Java Web . , Java (sockets) - . Java - IP Multcasting, push-, "Java - ". , , , , demo Web - .
, , Java - , - . , , "synchronization", (, , , ).
, : Java " ", .
Java (AWT) MVC (Model-View-Controller). "M" ( - ). (V) , Java - - () . () - , , , MVC. - . MVC- NOTIFY UPDATE MVC, .
, AWT MVC, . - , JavaSoft Sun Microsystems. - MVC - .
, , , if-then-else while-loop - (Boehm) (Jaccopini) 60- . : / ? , Java, .
, (fork) - , . Java (sockets) (sessions), - - Java RMI (Remote Method Invocation). , :
fan i = 1 to 10; send X[i] to X, Y[i] to Y; { double X, Y, Z; Z = X + Y } return Z to Z[i]; endfan
fan , cpus. Java 10 . : Z = X + Y, , i, X Y. Z .
, cpus fan . , Java - , "". (JVM) , . cpus , , Z[1], .
- tree - . , - (). , . tree :
tree i = 1 to 10 send X[2*i-1] to left, X[i] to right; { int left, right, sum,; sum = left + right } return sum to X[2*i-1]; endtree
10/2 = 5 cpus ( ) X. , . 5/2 = 3 , , 3/2 = 1 cpu. - "tree" , X (log2) .
fan tree, par pipe . Par - :
par i = 1 to 10 1: send A to a, B to b; { int a; /* - */ } return a to A; 2: send X to c; { int c; /* - */ } return c; 3: /* .. - */ ... endpar
Par - , fork Unix, , , C - Unix fork-join. , .
, , pipe , cpu. , . , n , 10 ..
pipe i = 1 to 10; 1: send ... {compute...} return...} 2: send ... {compute...} return...} ... n: send ... {compute...} return} endpipe
Pipe , , . , 1 , n - , - - . , JVM , .
, Java. - - . , , , , . , : fan, tree, par pipe , , . , ? .
, Java, , Java-.
: Java , , . Java , .
. - , ; , Java, , Java .
. , 30 . Java : ; ; . : C/C++ ; API; (fragile base class problem) - ; (fragile interface problem) - , , - . , Java .
. , (function point) : . Java Beans . , , - ActiveX, CORBA, OpenDoc - .
. 18 . , , . Java . RAD (Rapid Application Development), Java - .
. , . , . Java , . , , Java, , . , Java , ?!
, Java - , . Java - , - C/C++, HTML . - , 20 . , , , . , , , ( !), . , , Java .
, , (aglets) - - (agent applets), IBM Research, . Java Collaboration, CORBA Java IDL (Interface Definition Language) - Java , ; , . , Java - "-"? , Java .
Java , Java - , , - . , , , , Java . , Java - .
Java , , , , Java . - , Java - , .
, , Java. . , , Java , C++. C++ , , , . Java C++ - , . Java - - - . , , . Java .
10.11.2021 - 12:37: - Personalias -> WHO IS WHO - - _. 10.11.2021 - 12:36: - Conscience -> . ? - _. 10.11.2021 - 12:36: , , - Upbringing, Inlightening, Education -> ... - _. 10.11.2021 - 12:35: - Ecology -> - _. 10.11.2021 - 12:34: , - War, Politics and Science -> - _. 10.11.2021 - 12:34: , - War, Politics and Science -> . - _. 10.11.2021 - 12:34: , , - Upbringing, Inlightening, Education -> , - _. 10.11.2021 - 09:18: - New Technologies -> , 5G- - _. 10.11.2021 - 09:18: - Ecology -> - _. 10.11.2021 - 09:16: - Ecology -> - _. 10.11.2021 - 09:15: , , - Upbringing, Inlightening, Education -> - _. 10.11.2021 - 09:13: , , - Upbringing, Inlightening, Education -> - _. |