Five Years of Taking You Where You Want To Go

Now ...
where do you want to go?


Presentations

OS/2 For You - Indexed by:
Issue
Date
Title
Category
Author

SCOUG Resources & Information

OS/2 Trivia

Software, Demos, & Drivers

Java, Netscape updates

FixPaks

CD Index by:
Title
Category

Thanks

Credits

Copyright 1998, Southern California OS/2 User Group

Introduction to Java

Presented by Terry Warren

Overview

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
    •     JDK 1.2

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

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


The Southern California OS/2 User Group
www.scoug.com
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 1998 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.