Essentials of the Java Programming Language, Part 2
By Monica Pawlan
July 1999
This series of lessons builds on the material presented in Java 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.
Note: This tutorial is available as a book from online book sellers.
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
- Server Program Code
- View Order Client Code
- Program Improvements
- More Information
Lesson 3: Cryptography
Lesson 4: Serialization
Lesson 5: Collections
Lesson 6: Internationalization
- Identify Culturally Dependent Data
- Create Keyword and Value Pair Files
- Internationalize Application Text
- Localize Numbers
- Compile and Run the Application
- Program Improvements
- More Information
Lesson 7: Packages and Java Archive File Format
Lesson 8: Object-Oriented Programming