Thinking in JavaAppropriate for intermediate to advanced courses in Java. In Thinking in Java, Third Edition, Bruce Eckel revises his widely-praised Java introduction to fully reflect the power of Java 2 Standard Edition, Version 1.4. This new edition of the book that won the 1999 Software Development Magazine Productivity Award adds thoroughly updated coverage of servlets, JSP, and EJB. As always, Eckel doesn't just show students what to do, but why. He introduces all the basics of objects as Java uses them; then walks carefully through the fundamentals of Java programming, including program flow, initialization and cleanup, implementation hiding, reusing classes and polymorphism. Using to-the-point examples, he introduces exception handling, Java I/O, run-time type identification, and passing and returning objects. Coverage also includes: database integration, transactions, security, Swing GUI development, Jini, JavaSpaces, and much more. Eckel presents Java one simple step at a time, carefully organizing his material so students can learn new concepts even in short study periods, and thoroughly digest each new idea and technique before moving on. All code examples are simple and short, enabling even beginners to understand every detail. All code examples are on the accompanying CD-ROM, along with electronic copies of the book in several formats, and the complete Thinking in C multimedia course, which introduces crucial concepts every beginning programmer must master before learning Java. |
Contents
Preface | 1 |
Introduction | 9 |
Interfaces | 15 |
Introduction to Objects | 31 |
and interfaces | 51 |
Ensuring proper cleanup | 57 |
Why Java succeeds | 72 |
Everything is an Object | 77 |
Detecting Types | 423 |
the implementation 40 | 425 |
Summary | 446 |
reusing | 450 |
Collections of Objects | 453 |
Making a Collection | 564 |
The Java IO System | 583 |
Map functionality 520 | 590 |
implementation | 78 |
Where storage lives | 79 |
class | 85 |
Using other components | 91 |
Comments and embedded | 97 |
Coding style | 103 |
Controlling Program Flow | 107 |
Initialization Cleanup | 165 |
Distinguishing | 171 |
Overloading on return values | 177 |
finalization | 183 |
Specifying initialization | 193 |
Array initialization | 202 |
Summary | 211 |
Hiding the Implementation | 215 |
Reusing Classes | 241 |
protected | 260 |
Final methods | 269 |
224 | 275 |
Polymorphism | 279 |
Pure inheritance | 308 |
Interfaces Inner Classes | 315 |
Extending an interface | 323 |
Inner classes | 329 |
and scopes | 335 |
The link to the outer class | 342 |
Reaching outward from | 348 |
Inner class identifiers | 354 |
Summary | 367 |
Error Handling with Exceptions | 371 |
Performing cleanup | 394 |
Exception restrictions | 400 |
Exception matching | 408 |
Exception guidelines | 418 |
Readers Writers | 598 |
File reading | 610 |
and Java I | 692 |
Concurrency | 699 |
Daemon threads | 710 |
Creating responsive | 722 |
Colliding over resources | 729 |
Object serialization 650 | 738 |
The proper way to stop | 758 |
Creating Windows Applets | 765 |
Running applets inside | 771 |
A display framework | 777 |
Text areas | 783 |
BoxLayout | 789 |
Tracking multiple events | 801 |
Selecting Look Feel | 852 |
Signing app 8 58 | 863 |
Programming | 869 |
Concurrency Swing | 875 |
Discovering | 903 |
Discovering Problems | 909 |
Using HPROF | 987 |
Summary | 993 |
Analysis and Design | 997 |
Guidelines | 1016 |
Passing Returning Objects | 1021 |
1017 | 1069 |
Java Programming Guidelines | 1071 |
Passing | 1078 |
Supplements | 1085 |
Resources | 1091 |
Index | 1097 |
308 | 1103 |
Copyright | |
Other editions - View all
References to this book
Handbook of Computational Economics, Volume 2 Hans M. Amman,Leigh Tesfatsion,Kenneth L. Judd,David A. Kendrick,John Rust No preview available - 2006 |
Enterprise E-commerce: The Software Component Breakthrough for Business-to ... Peter Fingar,Harsha Kumar,Tarun Sharma No preview available - 2000 |