Java Reference
In-Depth Information
19
Java Never Ends
19.1 MULTITHREADING
1080
Example: A Nonresponsive GUI
19.4 JAVA AND DATABASE
CONNECTIONS
1105
Relational Databases
1081
1105
Thread.sleep
1081
The
getGraphics
Method
1085
Fixing a Nonresponsive Program Using Threads
Java DB and JDBC
1105
SQL
1107
1086
Example: A Multithreaded Program
1086
19.5 WEB PROGRAMMING WITH JAVA
SERVER PAGES
1118
Applets, Servlets, and Java Server Pages
The Class
Thread
1087
The
Runnable
Interface
★
1090
Race Conditions and Thread Synchronization
★
1118
1093
Oracle GlassFish Enterprise Server
1120
HTML Forms—the Common Gateway Interface
1121
19.2 NETWORKING WITH STREAM
SOCKETS
1098
Sockets
1098
Sockets and Threading
JSP Declarations, Expressions, Scriptlets,
and Directives
1123
1102
19.3 JAVABEANS
1103
The Component Model
1103
The JavaBeans Model
1104
Chapter Summary 1132
Answers to Self-Test Exercises 1133
Programming Projects 1134