Java Reference
In-Depth Information
Display 19.8 Result of SQL Command in Text
Result
TITLE
ISBN
AUTHOR_ID
Snow Crash
0-553-38095-8
3
Endymion
0-553-57294-6
2
The Hitchhiker's Guide to the Galaxy
0-671-46149-4
1
The Rise of Endymion
0-553-57298-9
2
Self-Test Exercises
7. Give an SQL command to produce a table of book titles with corresponding
author and author ID from the table Result in Display 19.8 and one of the tables
in Display 19.7. Follow the example of an SQL command given in the text.
Chapter Summary
A thread is a separate computation process. A Java program can have multiple
threads.
You use the class Thread to produce multiple threads.
The static method Thread.sleep inserts a pause into the thread in which it is
invoked.
A socket refers to an endpoint that connects two programs over a network.
TCP refers to a reliable, streaming protocol for network communication. It
ensures that data is received in the same order it was sent.
JavaBeans refers to a framework for producing Java components that are easy to
combine with other JavaBean components to produce new applications.
JDBC allows you to insert SQL commands into your code to access and manipu-
late databases.
Using JDBC, you can insert SQL database commands in your Java code.
 
Search WWH ::




Custom Search