Java
Technology
Home
Page
A-Z Index
Java Developer Connection(SM)
Online Training
Downloads, APIs,
Documentation
Java Developer
Connection
Tutorials, Tech Articles,
Training
Online Support
Community Discussion
News & Events from
Everywhere
Products from
Everywhere
How Java Technology
is Used Worldwide
Print Button
Essentials of the JavaTM Programming
Language: A Hands-On Guide, Part 2
by Monica Pawlan
[CONTENTS] [NEXT>>]
This series of lessons builds on the material presented in JavaTM
Programming Language Basics, Part 1, which introduced
applications, applets, and servlets; simple file and database access
operations; and remote method invocation (RMI).
The lessons and code examples for Part 2 are somewhat more
complex. They walk you through network communications, building
a user interface using more components, data encryption and
decryption (pseudo code only), grouping multiple data elements
into one object (collections), and internationalizing a program. Part
2 concludes with some object-oriented programming concepts.
Contents
Lesson 1: Socket Communications
What are Sockets and Threads?
●
About the Examples
●
Example 1: Server-Side Program
●
Example 1: Client-Side Program
●
Example 2: Multithreaded Server Example
●
More Information
●
Lesson 2: User Interfaces Revisited
About the Example
●
Fruit Order Client Code
Global Variables
❍
Constructor
❍
Event Handling
❍
Cursor Focus
❍
Converting Strings to Numbers and Back
❍
●
Server Program Code
●
View Order Client Code
●
Program Improvements
●
Essentials of the Java(TM) Programming Language, Part 2
file:///T|/General/Documentation/Java/Basic Java 2/HTML/index.html (1 of 3) [24.07.2000 12:33:21]
More Information
●
Lesson 3: Cryptography
About the Example
●
Running the Example
●
Pseudo Code
●
More Information
●
Lesson 4: Serialization
About the Example
●
Wrapping the Data
●
Sending Data
●
Server Program
●
Receiving Data
●
More Information
●
Lesson 5: Collections
About Collections
●