Java FAQ home < Free Books   
 
Title , author Where?
Essentials of the JavaTMProgramming Language: A Hands-On Guide, Part 1 by SUN go here!

Contents
Lesson 1: Compiling and Running a Simple Program 

A Word About the Java Platform 
Setting Up Your Computer 
Writing a Program 
Compiling the Program 
Interpreting and Running the Program 
Common Compiler and Interpreter Problems 
Code Comments 
API Documentation 
More Information 
Lesson 2: Building Applications 

Application Structure and Elements 
Fields and Methods 
Constructors 
To Summarize 
More Information 
Lesson 3: Building Applets 

Application to Applet 
Run the Applet 
Applet Structure and Elements 
Packages 
More Information 
Lesson 4: Building a User Interface 

Swing APIs 
Import Statements 
Class Declaration 
Global Variables 
Constructor 
Action Listening 
Event Handling 
Main Method 
Applets Revisited 
More Information 
Lesson 5: Writing Servlets 

About the Example 
HTML Form 
Servlet Backend 
More Information 
Lesson 6: File Access and Permissions 

File Access by Applications 
Exception Handling 
File Access by Applets 
Granting Applets Permission 
Restricting Applications 
File Access by Servlets 
Appending 
More Information 
Lesson 7: Database Access and Permissions 

Database Setup 
Create Database Table 
Database Access by Applications 
Establishing a Database Connection 
Final and Private Variables 
Writing and Reading Data 
Database Access by Applets 
JDBC Driver 
JDBC-ODBC Bridge with ODBC Driver 
Database Access by Servlets 
More Information 
Lesson 8: Remote Method Invocation 

About the Example 
Program Behavior 
File Summary 
Compile the Example 
Start the RMI Registry 
Run the RemoteServer Server Object 
Run the RMIClient1 Program 
Run the RMIClient2 Program 
RemoteSend Class 
Send Interface 
RMIClient1 Class 
RMIClient2 Class 
More Information 
In Closing
een java and C++
Appendix C Moving C/C++ Legacy Code to Java