Flylib.com
Special Edition Using Java 2, Standard Edition (Special Edition Using...)
Special Edition Using Java 2, Standard Edition (Special Edition Using...)
ISBN: 0789724685
EAN: 2147483647
Year: 1999
Pages: 353
Authors:
Chuck Cavaness
,
Brian Keeton
,
Jeff Friesen
,
Joseph Weber
BUY ON AMAZON
Special Edition Using Java 2 Standard Edition
Table of Contents
Copyright
About the Authors
Acknowledgments
Tell Us What You Think
Introduction
This Book Is for You
How This Book Is Organized
Conventions Used in This Book
Part I: The Java Language
Chapter 1. Object-Oriented Programming
Object-Oriented Programming: A Different Way of Thinking
A Short History of Programming
A Lesson in Objects
Objects as Multiple Entities
Modularity and Code Organization
Relating Objects to Java Classes
Building a Hierarchy: Steps in OOP Design
OOP and the UML
Is Java a Magic OOP Bullet?
Chapter 2. HelloWorld: Your First Java Program
HelloWorld Application
Understanding HelloWorld
HelloWorld as an Applet
Keywords
The Java 1.3 API
Troubleshooting
Chapter 3. Data Types and Other Tokens
Java Data Types
Working with Variables
The boolean Primitive
The Flavors of Integer
Operators
Character Variables
Floating-Point Variables
Literals: Assigning Values
Integer Literals
Character Literals
Floating-Point Literals
String Literals
Arrays
Non-Token Input Elements
Troubleshooting
Chapter 4. Methods and Exceptions
Declaring a Method
Blocks and Statements
Methods and the UML Sequence Diagram
Catching and Throwing Exceptions
Java s Error Classes
Troubleshooting
Chapter 5. Using Expressions
What Is an Expression?
How Expressions Are Evaluated
Of Special Interest to C Programmers
Bitwise Operators
Shift Operators
Type Conversions
Special Operator Support for Strings
Troubleshooting
Chapter 6. Control Flow
Controlling the Flow of Execution
Boolean Operators
Logical Expressions
The Conditional Operator
Booleans in Control Flow Statements
Control Flow Functions
switch Statements
Iteration Statements
Jump Statements
Troubleshooting
Chapter 7. Classes
What Are Classes?
Why Use Classes?
Classes in Java
Declaring a Class
Variables-Defining State
Methods-Defining Behavior
Creating an Instance of a Class
Referring to Class Elements
The Object Class
Casting and Converting Reference Types
Inner Classes
Packages
Wrapping the Primitive Types in Classes
Using the Standard Mathematical Functions
Building a UML Class Diagram
Troubleshooting
Chapter 8. Using Strings and Text
Introducing Strings
Using the String Class
Getting Information About a String Object
Comparing Strings
String Extraction
String Manipulation
Concatenating Strings
Converting Objects to Strings
Converting Primitives to Strings
Using the StringBuffer Class
Using the StringTokenizer Class
Strings and the Compiler
Troubleshooting
Chapter 9. Interfaces
What Are Interfaces?
Defining an Interface
Implementing an Interface
Referencing Interfaces
Choosing Between an Interface and an Abstract Class
Depicting Interfaces in UML
Troubleshooting
Chapter 10. Data Structures and Java Utilities
Collection and Utility Classes
The Collections Framework
Collection Interfaces
In the Beginning
General-Purpose Implementations
Sorting a Collection
Iterating a Collection
Collection Utilities and Wrappers
Which Collection Class to Use?
Array Utilities
Configuring an Application Using the Properties Class
Working with Dates
The BitSet Class
Generating Random Numbers
Monitoring State Changes Using ObserverObservable
Troubleshooting
Chapter 11. Threads
What Are Threads?
Why Use Threads?
How to Make Your Classes Threadable
Extending
Implementing
The Life Cycle of a Thread
Using Thread Local Variables
Changing Thread Priorities
Thread Synchronization
Changing the Running State of a Thread
Thread Groups
Obtaining the Number of Running Threads
Yielding to Other Threads
Daemon Threads
Using the Timer and TimerTask Classes
Making Your Application Thread-Safe
Troubleshooting
Part II: User Interface
Chapter 12. Introduction to Java Foundation Classes
What Is the JFC?
History of the JFC
JFC Applications
Applets
Troubleshooting
Playing Audio Clips from a JFC Application
Launching a Frame from an Applet
Chapter 13. Beginning AWT
What Is the AWT?
Graphics
Fonts and Colors
Images
Troubleshooting
Chapter 14. Building a GUI: AWT Style
Introducing the Windowing Toolkit
Building a GUI: Components, Containers, and Layout Managers
Building a GUI: Events and Listeners
Customizing the Windowing Toolkit
Troubleshooting
Chapter 15. And Then There Was Swing
What Is Swing?
Comparing Swing to the AWT
Mixing Heavyweight and Lightweight Components
Converting from the AWT to Swing
Troubleshooting
Chapter 16. Building a GUI: Swing Style
A Swinging Toolkit
Building a GUI: Components, Containers, and Layout Managers
Building a GUI: Events and Listeners
Odds and Ends
Troubleshooting
Chapter 17. Accessibility
What Is Accessibility?
How Does Accessibility Work?
Utilities
Robots
Troubleshooting
Chapter 18. Java 2D
What Is Java 2D?
Rendering 101
Shapes, Text, and Buffered Images
Printing
Troubleshooting
Chapter 19. Drag and Drop
What Is Drag and Drop?
First Comes Data Transfer
Then Comes Drag and Drop
Troubleshooting
Chapter 20. Java Media Framework
What Is JMF?
Playing Media
Processing Media
Capturing Media
Troubleshooting
Part III: IO
Chapter 21. Streams, Files, and Serialization
What Are Streams?
Working with the Stream Classes
Reading and Writing Data Using Byte Streams
Redirecting Standard InputOutput
Using Readers and Writers
Working with Files
Creating Files
Reading and Writing Files
Directory Operations
Object Streams
Troubleshooting
Chapter 22. Object Serialization
What Is Object Serialization?
Object Serialization Example
Reading and Writing Your Own Objects
Customizing Object Serialization
Using the Externalizable Interface
Troubleshooting
Chapter 23. Communications and Networking
Overview of Network Communications
TCPIP Architecture
Working with Sockets
Compressing Data When Using Sockets
Sending Objects Across the Network Using Sockets
Obtaining Hostname and IP Address Information
User Datagram Protocol (UDP)
World Wide Web Overview
Understanding the RequestResponse Scenario
Using the URL Classes
An Example: Building a World Wide Web Graph
HTTP and SSL
Java Secure Socket Extension Package Overview
Troubleshooting
Chapter 24. Using Internationalization
What Is Internationalization?
Java Support for Internationalization
The Locale Class
Packaging Locale-Sensitive Data
Calendar and Time Zone Support
Internationalization Formatting
Character Set Converters
Readers and Writers
The java.text Package
An Example:
Troubleshooting
Chapter 25. JAR Files
Using JAR Files
Some Differences Between ZIP and JAR Formats
Creating and Viewing a JAR
The Manifest File
Reading and Writing JAR Files
Adding a JAR to Your Classpath
JARs and Security
When to Use
Troubleshooting
Part IV: Databases
Chapter 26. JDBC 2.0 Fundamentals
What Is the JDBC?
JDBC 2.0 Overview
JDBC Drivers
Setting Up a Database
Installing and Using a JDBC Driver
JDBC URLs
Connecting to the Database
Reading Data Using JDBC
Writing Data Using JDBC
Using Prepared Statements
Using Transactions
Getting MetaData from the Database
Using Stored Procedures
Troubleshooting
Chapter 27. Advanced JDBC 2.0
New Features in JDBC 2.0 API
Using the JDBC Optional Package
Understanding Object-to-Relational Mapping Frameworks
Troubleshooting
Part V: Component Development
Chapter 28. Reflection
What Is Reflection?
Key Classes of the Reflection API
Security Considerations
Creating a Class Knowing Only the List of Constructors
Inspecting a Class for Its Methods
Accessing the Declared Fields of a Class
Utility Methods
Implementing an Interface Using a Proxy
Troubleshooting
Chapter 29. JavaBeans
Self-Contained Components
Important Concepts in Component Models
The Basics of Designing a JavaBean
Creating and Using Properties
Using Events to Communicate with Other Components
Introspection: Creating and Using
Customization: Providing Custom
Bean Packaging
Enterprise JavaBeans
Troubleshooting
Appendix A. Installing the SDK and Getting Started
Getting the SDK 1.3SE
Installing the SDK 1.3SE
Testing the Java Compiler and JVM
Appendix B. SDK Tools
SDK Tools Reference
AppletViewer
java-The Java Interpreter
javac-The Java Compiler
javap-The Java Disassembler
The javadoc Tool (Documentation Generator)
jdb-The Java Debugger
Appendix C. SDK 1.3 Performance Improvements
General Performance Improvements
Introduction to HotSpot Technology
What Makes HotSpot Better?
Java HotSpot Client Virtual Machine
Java HotSpot Server Virtual Machine 2.0
Applet Deployment Improvements
Appendix D. Java Resources
Web Sites
Newsgroups
Mailing Lists
index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_Q
index_R
index_S
index_T
index_U
index_V
index_W
index_X
index_Y
Special Edition Using Java 2, Standard Edition (Special Edition Using...)
ISBN: 0789724685
EAN: 2147483647
Year: 1999
Pages: 353
Authors:
Chuck Cavaness
,
Brian Keeton
,
Jeff Friesen
,
Joseph Weber
BUY ON AMAZON
FileMaker Pro 8: The Missing Manual
Printing and Preview Mode
Print-Related Layout Options
Finding Records
Printing
Managing Accounts
Developing Tablet PC Applications (Charles River Media Programming)
Math and Random Number Functions in VB .NET
Your First Program
Using Gestures to Control Tablet Media Player
Pong Game
Not Quite a Magic Ball
Excel Scientific and Engineering Cookbook (Cookbooks (OReilly))
Understanding Operator Precedence
Introduction
Exploring Chart Styles
Programming a Genetic Algorithm for Optimization
Figuring a Break-Even Point
The Complete Cisco VPN Configuration Guide
WebVPN Remote Access
Concentrator Tools
Authentication and Connection Options
Router Product Overview
Easy VPN Server Support for 7.0
Service-Oriented Architecture (SOA): Concepts, Technology, and Design
How case studies are used
Reliable messaging
Service-orientation and contemporary SOA
Task-centric business service design (a step-by-step process)
Fundamental WS-* Extensions
Introducing Microsoft ASP.NET AJAX (Pro - Developer)
The AJAX Revolution
The Pulsing Heart of ASP.NET AJAX
Partial Page Rendering
Built-in Application Services
Remote Method Calls with ASP.NET AJAX
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies