More Ebooks:

JAVA Cryptography

Java By Example

Java AWT Reference

Java 2EE and XML Development

Java 1.2 Unleashed

IP Addressing & Subnetting

Intranets Unleashed

Teach Yourself Internet Game Programming with Java in 21 Days

Insider COM++ Base Services

Inside Server-Based Applications

find on eBook ToC:

Java Developer's Reference

Java Developer

Bryan Morgan, Sams Publishing

ISBN:1575211297, Edition: , 1996-11

Price: $59.99

Contents

PART I  The Java Development System

Chapter 1  Introduction to Java

  • What Is Java?
    • Java as an Internet Language
    • Java as a General-Purpose Language
    • Applications and Applets
  • Features of the Java Language
    • Simple
    • Object-Oriented
    • Distributed
    • Interpreted
    • Robust
    • Secure
    • Architecture-Neutral
    • Portable
    • High-Performance
    • Multithreaded
    • Dynamic
  • The Java Tools
    • Compiler
    • Interpreter
    • Debugger
    • Disassembler
    • Header File Generator
    • JavaDoc
    • Applet Viewer
  • Java-Enabled Browsers
    • HotJava
    • Netscape
  • Summary

Chapter 2  Installing Java

  • Getting Started with the Java Developer's Kit
  • JDK Installation Notes
    • Sun Solaris Installation Notes
    • Windows 95 and Windows NT Installation Notes
    • Apple Macintosh System 7.5 Installation Notes
  • Testing the Installation
  • Exploring the Java Developer's Kit
  • Distributing the Java Virtual Machine
  • Other Development Environments
    • SunSoft Java Workshop for Sun Solaris and Microsoft Windows 95/NT
    • Symantec Café for Microsoft Windows 95/NT and Apple Macintosh
    • Borland Latte for Microsoft Windows 95/NT
    • Microsoft Visual J++ for Microsoft Windows 95/NT
  • Summary

Chapter 3  The Java Language

  • Comments
  • Java Keywords
  • Primitive Types
    • Integer Types
    • Floating-Point Types
    • Other Primitive Types
    • Default Values
    • Casting Between Primitive Types
  • Literals
    • Integer Literals
    • Floating-Point Literals
    • Boolean Literals
    • Character Literals
    • String Literals
  • Arrays
    • Allocation
    • Initialization
    • Array Access
  • Operators
    • Operators on Integers
    • Operators on Floating-Point Values
    • Operators on Boolean Values
  • Controlling Your Program
    • Selection
    • Iteration
    • Jumping
  • Java Classes
    • Field Declarations
  • Class Inheritance
    • Overriding Member Methods
    • The super Variable
    • Class Modifiers
    • Implementing Interfaces
  • Summary

Chapter 4  Java for C++ Programmers

  • Data Types
    • Primitive Types
    • Casting
    • Operators
    • Pointers
    • Structures and Unions
    • Arrays
  • Automatic Memory Management
  • Classes
    • Member Methods
    • Setting Default Values
    • Static Members
    • Constructors and Destructors
    • Inheritance
  • The Preprocessor
  • Other Changes
    • Comments
    • Command-Line Arguments
    • Character Arrays and Strings
    • goto, break, and continue
    • Runtime Type Identification
    • Missing Features
  • Summary

Chapter 5  Java for Delphi Programmers

  • Comments
  • The End of begin and end
  • Data Types
    • Declaring Variables
    • Primitive Types
    • Casting
    • Operators
    • Pointers
    • Records
    • Arrays
  • Memory Management
    • Garbage Collection
  • Classes
    • Member Methods
    • Setting Default Values
    • Static Members
    • Constructors and Destructors
    • Inheritance
  • Other Changes
    • Command-Line Arguments
    • Parentheses Are Required
    • The Java for Statement
    • goto, break, and continue
  • Summary

Chapter 6  Java for Visual Baisc Programmers

  • Visual Basic versus Java, or Object-Based versus Object-Oriented
    • Encapsulation
    • Inheritance
    • Polymorphism
  • Comparing ActiveX to Java Classes
  • Understanding Java Program Flow
    • The Applet Life Cycle
  • Language Features and Syntax
    • Data Types
    • Declaring Variables
    • Programming Constructs
    • Language Features Missing from Visual Basic
  • Summary

Chapter 7  Developing Java Applets

  • What Is an Applet?
  • What Is Required to Run an Applet?
  • Capabilities and Limitations of Applets
    • Bytecode Verification
    • Client-Side Precautions
    • Are Java Applets Safe?
  • Building a Java Applet
  • HTML and Java Applets
    • Passing Parameters to Java Applets
  • Simple Graphics and GUI Techniques
    • Laying Out Components on the Screen
    • Handling Events
  • Inter-Applet Communication
    • Java Beans
    • Possibilities of Inter-Applet Communication
    • Some Inter-Applet Communication Methods
    • Using a Web Server
    • Using JavaScript
    • Using Static Variables
  • Summary

Chapter 8  Developing Java Applications

  • Applications versus Applets
  • Review of Java Applets
  • Introduction to Java Applications
    • Java Applications: An Example
    • Importing Other Packages to Your Java Applications
    • Using argv[] to Pass Command-Line Arguments
  • Summary

Chapter 9  javac : The Java Compiler

  • Overview
  • Usage
  • Options
  • The Non-Optimizing Compiler
  • Bugs
  • Summary

Chapter 10  java : The Java Interpreter

  • Overview
  • Usage
  • Options
  • The Non-Optimized Interpreter
  • Bugs
  • Summary

Chapter 11  Using the Applet Viewer

  • Overview
  • Usage
  • Options
  • Commands
  • Profiling Java Applets
  • Bugs
  • Summary

Chapter 12  HTML for Java Programmers

  • Welcome to the Internet
  • What Exactly Is HTML?
  • Diving into the HTML Format
  • Java and HTML: The Basics
  • Starting the Document: The <HTML> Tag
  • Setting Up the Title: The <HEAD> and the <TITLE> Tags
    • The Center of Attention: The <BODY> Tag
    • Displaying Text on the Page: Headings, Paragraphs, and Line Breaks
    • Adding a Java Applet
  • The <APPLET> Tag in Detail
    • <APPLET> Tag Attributes
    • <APPLET> Tag Parameters: The <PARAM> Tag
  • HTML Document Creation
    • Additional Header Information
    • Overall Document Formatting
    • Complete Text Formatting
    • Using Anchors to Create Hyperlinks
    • HTML and Images
  • Summary

Chapter 13  HotJava and Other Java-Enabled Browsers

  • The HotJava 1.0 Browser
    • Installing the HotJava Browser
    • HotJava Features
    • Using HotJava
    • Planned Features for HotJava 1.0
  • The Netscape Navigator 2.0 Browser
    • Java versus JavaScript
    • Netscape and Java
  • Microsoft's Internet Explorer 3.0
    • Java and ActiveX
  • Summary

Chapter 14  Using javah

  • The Header File
  • The Stub
  • Usage
  • Example
  • Summary

Chapter 15  jdb: The Java Debugger

  • The Java Debugger API
    • Security Precautions
  • Debugging with jdb
    • Using the Interpreter through the Command Line
    • Attaching to a Running Interpreter
    • Debugging Java Applets
  • jdb Options
  • Other Debuggers
    • Visual Breakpoints
    • Step Into or Over
    • Evaluate and Modify at Runtime
    • View Call Stack
    • Adding Watches
  • Summary

Chapter 16  Using JavaDoc to Document Your Program

  • Overview
  • Running JavaDoc
  • Adding JavaDoc Comments
    • Documenting Classes
    • Documenting Methods
  • Enhancing Your Documentation with HTML
  • An Example
  • Summary

PART II  Using the Java Packages

Chapter 17  Programming the User Interface

  • Introduction and Basic Concepts
  • Platform Independence: Gone Today, Here Tomorrow
  • Abstract Window Toolkit (AWT)
    • Graphics Class
    • The update, paint, and repaint Methods
    • Working with Color
    • Geometric Classes
    • The Toolkit
  • Drawing
    • Drawing Text
    • Drawing Lines
    • Drawing Shapes
    • Filling Shapes
    • Animation
  • Interactive Interface Elements
    • Component Class-Shared Features of All Active GUI Elements
    • Containers
    • Panels
    • Insets
    • Frames
    • Windows
    • Labels
    • Buttons
    • Checkboxes
    • Radio Buttons
    • Choice Menus
    • Scrolling Lists
    • The TextComponent Class-Invisible but Useful
    • TextField
    • TextArea
    • Canvases
  • Organizing Your Interface with Layouts
    • No Layout Manager
    • FlowLayout
    • GridLayout
    • GridBagLayout
    • BorderLayout
    • CardLayout
    • Custom Layouts
  • Images
    • Loading Images from Files (ImageObserver)
    • Clipping Images (CropImageFilter, MediaTracker)
    • Filtering Images (RGBImageFilter)
    • Building Images On-the-Fly (MemoryImageSource)
    • Converting Images to Arrays (PixelGrabber)
  • Windows
  • Frames
    • Cursor Control
    • Menus
  • Dialog
  • FileDialog
  • Working with Applications
  • Applet Methods of Interest
  • Extending the AWT
    • Extending Components (the Image Button)
    • Using Other People's Classes
  • Summary

Chapter 18  Writing Secure Programs

  • A Bit of History
  • Java Security Issues
  • The Differing Security Aspects of Applets and Applications
  • Applets
  • The Java Security Model
    • The Compiler and the Java Language
    • The ByteCode Verifier
    • The ClassLoader
    • The SecurityManager
  • The Future
  • Summary

Chapter 19  Extending Your Programs with Native Methods

  • An Overview of Native Methods
  • Who Am I? A Java Class to Identify the User
    • The Class Definition
  • The Nuts and Bolts of Native Methods
    • Configuring Your Environment for Solaris
    • Building Native Methods for Solaris
    • Configuring Your Environment for Windows 95/NT
    • Building Native Methods for Windows 95/NT
    • Troubleshooting Native Methods
  • The Method and the Function
  • Arguments and Return Values
  • Using Java Objects from Native Methods
    • Accessing Instance Variables from Native Methods
    • Accessing Class Variables from Native Methods
    • Calling a Java Constructor
    • Calling a Java Method
    • Calling a Static Java Method
  • Multithreading and Native Methods
  • Native Methods and Exceptions
  • Using Java Strings from Native Methods
  • Summary

Chapter 20  Working with Threads

  • Thread Basics
  • The Thread Classes
    • Thread
    • Runnable
    • ThreadDeath
    • ThreadGroup
    • Object
  • Creating Threads
    • Deriving from the Thread Class
    • Implementing the Runnable Interface
  • Scheduling and Thread Priority
    • How It Works
    • Establishing Thread Priority
  • Daemons
  • Grouping Threads
  • Thread States
  • New
  • Runnable
  • Not Running
  • Dead
  • Synchronization
    • A Hypothetical Example
    • Synchronizing Threads
    • Volatile Variables
  • Summary

Chapter 21  Event Handling

  • Event-Driven Programming
  • AWT Event Handling
  • The Event Class
    • Member Variables
    • Types
    • Usage
  • Java Input Events
    • Keyboard Events
    • Mouse Events
  • Summary

Chapter 22  Exception Handling

  • What Is Exception Handling?
  • Why Is Exception Handling Important?
  • Types of Exceptions
  • Throwing Exceptions
  • Catching Normal Exceptions
  • Catching Runtime Exceptions
  • Forced Execution
  • When to Use Exception Handling
  • Summary

Chapter 23  Using Observers

  • Introduction
    • Interface Observer
    • Class Observable
    • Putting Them Together
  • A Simple Example: The SlideValue Applet
    • The Observable
    • The Observer
    • The Controller
    • The HTML Container
    • SlideValue Interaction
  • Flexible Object-Oriented Design
  • Observer as a Design PatternIK
    • Some Implications of Using Observer
    • Interactions
    • Observer Implementation Trade-Offs
  • The Model-View-Controller Paradigm
    • The Model (The Observable)
    • The View (The Observer)
    • The Controller
    • The Advantages of MVC
  • The AppletCAD Applet
    • The Applet
    • The Observable
    • The Observers
    • The Controller
    • HTML Container
    • Interaction
  • Other Applications of Observer
  • Summary

Chapter 24  Using the Provided Data Structures

  • Overview of the Data Structures
  • Enumeration
  • BitSet
  • Vector
  • Stack
  • Dictionary
  • Hashtable
  • Summary

Chapter 25  Working with Databases

  • A Brief Tutorial on SQL and Relational Databases
    • What Is a Database Server?
    • The Relational Database
    • Structured Query Language (SQL)
  • Using Java with Databases
    • Java and CGI Calls
    • The JDBC API
    • Server-Side Database Access
  • Summary

Chapter 26  Network-Aware Programming

  • The Server Discussion
  • The Server Workshop
  • The Client Discussion
  • The Client Workshop
    • Executing the Client/Server Application
  • Inter-Applet Communication
  • The First Applet
  • The Second Applet
    • Executing the Inter-Applet Communication Example
  • Applet Communication with the Browser
  • Java Communication with the Internet Using URLConnection
  • Summary

PART III  Package, Class, and Interface Reference

Chapter 27  Package java.applet

  • Applet
  • AppletContext
  • AppletStub
  • AudioClip

Chapter 28  Package java.awt

  • BorderLayout
  • Button
  • Canvas
  • CardLayout
  • Checkbox
  • CheckboxGroup
  • CheckboxMenuItem
  • Choice
  • Color
  • Component
  • Container
  • Dialog
  • Dimension
  • Event
  • FileDialog
  • FlowLayout
  • Font
  • FontMetrics
  • Frame
  • Graphics
  • GridBagConstraints
  • GridBagLayout
  • GridLayout
  • Image

Chapter 29  Packages java.awt image

  • ColorModel
  • CropImageFilter
  • DirectColorModel
  • FilteredImageSource
  • ImageFilter
  • IndexColorModel
  • MemoryImageSource
  • PixelGrabber
  • RGBImageFilter
  • ImageConsumer
  • ImageObserver
  • ImageProducer

Chapter 30  Package java.awt.peer

  • ButtonPeer
  • CanvasPeer
  • CheckboxMenuItemPeer
  • CheckboxPeer
  • ChoicePeer
  • ComponentPeer
  • ContainerPeer
  • DialogPeer
  • FileDialogPeer
  • FramePeer
  • LabelPeer
  • ListPeer
  • MenuBarPeer
  • MenuComponentPeer
  • MenuItemPeer
  • MenuPeer
  • PanelPeer
  • ScrollbarPeer
  • TextAreaPeer
  • TextComponentPeer
  • TextFieldPeer
  • WindowPeer

Chapter 31  Package java.io

  • DataInput
  • DataOutput
  • BufferedInputStream
  • BufferedOutputStream
  • ByteArrayInputStream
  • ByteArrayOutputStream
  • DataInputStream
  • DataOutputStream
  • File
  • FileDescriptor
  • FileInputStream
  • FileOutputStream
  • FilterInputStream
  • FilterOutputStream
  • InputStream
  • LineNumberInputStream
  • OutputStream
  • PipedInputStream
  • PipedOutputStream
  • PrintStream
  • PushbackInputStream
  • RandomAccessFile
  • SequenceInputStream
  • StreamTokenizer
  • StringBufferInputStream
  • EOFException
  • FileNotFoundException
  • IOException
  • InterruptedIOException
  • UTFDataFormatException

Chapter 32  Package java.lang

  • Cloneable
  • Runnable
  • Boolean
  • Character
  • Class
  • ClassLoader
  • Compiler
  • Double
  • Float
  • Integer
  • Long
  • Math
  • Number
  • Object
  • Process
  • Runtime
  • SecurityManager
  • String
  • StringBuffer
  • System
  • Thread

Chapter 33  Package java.net

  • ContentHandler
  • DatagramPacket
  • DatagramSocket
  • InetAddress
  • ServerSocket
  • Socket
  • SocketImpl
  • URL
  • URLConnection
  • URLEncoder
  • URLStreamHandler
  • MalformedURLException
  • ProtocolException
  • SocketException
  • UnknownHostException
  • UnknownServiceException
  • ContentHandlerFactory
  • SocketImplFactory
  • URLStreamHandlerFactory

Chapter 34  Package java.util

  • BitSet
  • Date
  • Dictionary
  • Enumeration
  • Hashtable
  • Observable
  • Observer
  • Properties
  • Random
  • Stack
  • StringTokenizer
  • Vector
  • EmptyStackException
  • NoSuchElementException

Chapter 35  Package sun.tools.debug

  • RemoteArray
  • RemoteBoolean
  • RemoteByte
  • RemoteChar
  • RemoteClass
  • RemoteDebugger
  • RemoteDouble
  • RemoteField
  • RemoteFloat
  • RemoteInt
  • RemoteLong
  • RemoteObject
  • RemoteShort
  • RemoteStackFrame
  • RemoteStackVariable
  • RemoteString
  • RemoteThread
  • RemoteThreadGroup
  • RemoteValue
  • StackFrame
  • DebuggerCallback
  • NoSessionException
  • NoSuchFieldException
  • NoSuchLineNumberException


Credits