(NOTE: Each chapter concludes with a Summary .) 1. Java and The Internet. Introduction. The Java programming language. The system. The evolution of browsers. Running Java applications and Java applets.
What you will learn from this book. A note on exercises and SAQs. 2. Objects. Introduction. Some examples of object-based systems. 3. Classes and Objects.
Introduction. State changes. Classes. Some concepts. Inheritance. Class libraries. 4. Java.
Introduction. Data types. Control structures. 5. Classes in Java. Introduction. Objects. Classes.
Objects and references. The class hierarchy. General classes and constructors. Java programs. A running example. 6. Exceptions. Introduction.
Defining and throwing exceptions. Creating your own exceptions. Exceptions in action a data structure for a Web crawler. Extending the running example. 7. Libraries. Introduction. The documentation of packages.
The java.util package. Two useful data structures. The Object class and object wrappers. Mixing objects. Further extension of the running example. 8. Abstraction Mechanisms.
Introduction. Abstract methods. Interfaces. Packages. A further extension to the running example. 9. Threads. Introduction.
Creating threads. Suspend and resume methods. Thread priorities. The problem with shared objects. The circular buffer. 10. Input and Output. Introduction.
Streams. Some important streams. Other classes. The StringTokenizer class. An example. StreamTokenizers. Revisiting the running example. 11.
Hci and Java. Introduction. Overview of the AWT. HCI elements. Containers and layouts. Control elements. The event system. Graphics.
Some examples. 12. Applets. Introduction. Introducing some essential applet methods. Drawing and handling events. Using threads in applets. Adding an interface to the applet.
Double buffering. Another example applet. Adding HCI to the running example. 13. Network Programming. Introduction. A tour of the package. The common protocol.
Writing a server. Writing an applet. General considerations. 14. Applications. Introduction. The application life cycle. Differences between applets and applications.
Application limitations. Adding user interface elements to applications. 15. Database Access. Introduction. Relational databases. SQL. Connecting to SQL databases.
Java and SQL. Appendix A. The Java Development Kit. Introduction. First steps. Running Java code. Other JDK tools. API documentation.
HTML tags. Index.