Introduction to Java - Warpstock 97 Presentation
Overview
What is java
How does it work
Why is it important
What can it be used for
What can it not be used for
How to develop programs
Examples
What is its future
Questions
References
What is Java
object oriented programming language
based on C++
includes "standard" classes for application development
developed by Sun Microsystems
original intended use:
implementation of embedded apps in consumer electronic devices
(now being revisited with "Java" devices such as cards, rings, etc)
current status
JDK 1.0.2
JDK 1.1
How does it work
virtual machine
class-based
JIT compiler
security levels
class verification
loader
security manager
Why is it important
well-designed as a programming language
easily supports object oriented application development
standard classes provide diverse application support
platform independent
What can it be used for
standalone applications
applets
html based
viewer
standard classes support
GUI (AWT and Event classes)
Graphics
Multimedia
Streams
file io
object persistence
Network (tcpip sockets/URL connections)
Threads
Components (beans)
Remote methods (RMI)
Native methods
standard "extensions"
servlets
any extension classes based only on standard classes
What can it not be used for
cpu-intensive operations
host machine resource access
platform specific resources (JNI)
How to develop programs
OS/2 JDK 1.0.2 (browser supported)
OS/2 JDK 1.1.1
Java IDEs for OS/2
Java Workshop 2.0 (Sun)
VisualAge for Java (IBM)
BeanMachine (Lotus)
Examples
applications
applets
Sample
Source
Execute
Print args
Sample1.java
(execute from command line)
System parameters
Sys2.java
(execute from command line)
Layouts
Main source
Dialog source
Execute
Image map
(source not available)
Execute
What is its future
Many mainstream applications
Stronger component architecture
Basis for distributed processing without webserver
Questions
References
Sun/Javasoft
IBM Java Development
many books
Java in a Nutshell (2nd edition)
Java Tutorial