Description
What if you could condense Java down to its very best features and build better applications with that simpler version? In this book, veteran Sun Labs engineer Jim Waldo reveals which parts of Java are most useful, and why those features make Java among the best programming languages available.Every language eventually builds up crud, Java included. The core language has become increasingly large and complex, and the libraries associated with it have grown even more. Learn how to take advantage of Java's best features by working with an example application throughout the book. You may not like some of the features Jim Waldo considers good, but they'll actually help you write better code.
* Learn how the type system and packages help you build large-scale software
* Use exceptions to make code more reliable and easier to maintain
* Manage memory automatically with garbage collection
* Discover how the JVM provides portability, security, and nearly bug-free code
* Use Javadoc to embed documentation within the code
* Take advantage of reusable data structures in the collections library
* Use Java RMI to move code and data in a distributed network
* Learn how Java concurrency constructs let you exploit multicore processors
CONTENTS:
Preface; Java and Me; You, the Audience; Conventions Used in This Book; Using Code Examples; How to Contact Us; Safari(R) Books Online; Acknowledgments; Chapter 1: An Introduction to Java; 1.1 What Is Java Good For?; Chapter 2: The Type System; 2.1 The Basics; 2.2 Why Have Three?; 2.3 Inside and Out; 2.4 Beware; 2.5 A Real Problem; Chapter 3: Exceptions; 3.1 The Basics; 3.2 The Why; 3.3 Use and Abuse; 3.4 The Dark Side; Chapter 4: Packages; 4.1 The Basics; 4.2 Packages and Access Control; 4.3 An Example; 4.4 Packages and the Filesystem; Chapter 5: Garbage Collection; 5.1 The Basics; 5.2 Garbage Collection and References; 5.3 Other Resources; Chapter 6: The Java Virtual Machine; 6.1 The Basics; 6.2 Security; 6.3 Portability; Chapter 7: Javadoc; 7.1 The Basics; 7.2 An Example; 7.3 Style Guides, Editors, and Nonterminating Discussions; Chapter 8: Collections; 8.1 The Basics; 8.2 Parameterized Types; 8.3 Advanced Topics; 8.4 Random Access; 8.5 Some Last Thoughts; Chapter 9: Remote Method Invocation and Object Serialization; 9.1 The Basics; 9.2 Object Serialization; 9.3 Subtypes in RPC Systems; Chapter 10: Concurrency; 10.1 The Basics; 10.2 Synchronizing; 10.3 Atomic Data; Chapter 11: The Developer Ecology; 11.1 IDEs; 11.2 JUnit; 11.3 FindBugs; 11.4 Other Tools; Colophon;
Published
18 May 2010
Publisher
O'REILLY & ASSOCIATES
ISBN
9780596803735
Pages
178




Static Book Details Index Page - Click Here to go to Computer Manuals Website