Active Document Translation Java Technolo Developed by Sun Microsystems Conventional applications Active documents(applets) achine-independent binar Run-time system a Browser interprets binary Class library Java Run-Time Environment Java Language Characteristics Characteristics High level Interpretative execution a General pur roose Automatic garbage collection Similar to C++ Multi-threaded execution Object oriented a Internet access Strongly typed Graphics support Statically type checked Concurrent Java Library Choice of Graphics Interface a Classes for Tava includes an extensive graphics toolkit Graphics manipulation that consists of run-time su Low-level network I/O cs as wel∥ as inter Interaction with a Web server Run-time system access handles details, or a low-leve/ interface, in File I/O Conventional data structures which the applet handles details. Event capture11 哈工大计算机学院 李全龙 Network Application Development Server Software Design 61 Active Document Translation Compiler produces machine-independent binary Browser interprets binary 哈工大计算机学院 李全龙 Network Application Development Server Software Design 62 Java Technology Developed by Sun Microsystems Used for Conventional applications Active documents (applets) Includes Programming language Run-time system Class library 哈工大计算机学院 李全龙 Network Application Development Server Software Design 63 Java Language Characteristics High level General purpose Similar to C++ Object oriented Dynamic Strongly typed Statically type checked Concurrent 哈工大计算机学院 李全龙 Network Application Development Server Software Design 64 Java Run-Time Environment Characteristics Interpretative execution Automatic garbage collection Multi-threaded execution Internet access Graphics support 哈工大计算机学院 李全龙 Network Application Development Server Software Design 65 Java Library Classes for Graphics manipulation Low-level network I/O Interaction with a Web server Run-time system access File I/O Conventional data structures Event capture Exception handling 哈工大计算机学院 李全龙 Network Application Development Server Software Design 66 Choice of Graphics Interface Java includes an extensive graphics toolkit that consists of run-time support for graphics as well as interface software. The toolkit allows a programmer to choose a high-level interface, in which the toolkit handles details, or a low-level interface, in which the applet handles details