CARVIEW |
Java in a Nutshell, Fifth Edition
- By
- David Flanagan
- Publisher:
- O'Reilly Media
- Released:
- March 2005
- Pages:
- 1264
Product Editions
- Java in a Nutshell, Fifth Edition - March 2005
- Java In a Nutshell, Fourth Edition - March 2002
- Java in a Nutshell, Third Edition - December 1999 (out of print)
- Java in a Nutshell, Deluxe Edition - June 1997 (out of print)
- Java in a Nutshell, Second Edition - May 1997 (out of print)
- Java in a Nutshell - March 1996 (out of print)
Java in a Nutshell, 5th Edition, covers all the extensive changes implicit in 5.0, the latest and greatest version of Java yet. This classic remake has also undergone a complete editorial makeover in order to more closely meet the needs of the modern Java programmer. Among the improvements: more discussion on tools and frameworks, and new code examples to illustrate the working of APIs.
With more than 700,000 copies sold to date, Java in a Nutshell from O'Reilly is clearly the favorite resource amongst the legion of developers and programmers using Java technology. And now, with the release of the 5.0 version of Java, O'Reilly has given the book that defined the "in a Nutshell" category another impressive tune-up.
In this latest revision, readers will find Java in a Nutshell, 5th Edition, does more than just cover the extensive changes implicit in 5.0, the newest version of Java. It's undergone a complete makeover--in scope, size, and type of coverage--in order to more closely meet the needs of the modern Java programmer.
To wit, Java in a Nutshell, 5th Edition now places less emphasis on coming to Java from C and C++, and adds more discussion on tools and frameworks. It also offers new code examples to illustrate the working of APIs, and, of course, extensive coverage of Java 5.0. But faithful readers take comfort: it still hasn't lost any of its core elements that made it such a classic to begin with.
This handy reference gets right to the heart of the program with an accelerated introduction to the Java programming language and its key APIs--ideal for developers wishing to start writing code right away. And, as was the case in previous editions, Java in a Nutshell, 5th Edition is once again chock-full of poignant tips, techniques, examples, and practical advice. For as long as Java has existed, Java in a Nutshell has helped developers maximize the capabilities of the program's newest versions. And this latest edition is no different.
-
Introducing Java
-
Chapter 1 Introduction
- What Is Java?
- Key Benefits of Java
- An Example Program
-
Chapter 2 Java Syntax from the Ground Up
- Java Programs from the Top Down
- Lexical Structure
- Primitive Data Types
- Expressions and Operators
- Statements
- Methods
- Classes and Objects Introduced
- Arrays
- Reference Types
- Packages and the Java Namespace
- Java File Structure
- Defining and Running Java Programs
- Differences Between C and Java
-
Chapter 3 Object-Oriented Programming in Java
- Class Definition Syntax
- Fields and Methods
- Creating and Initializing Objects
- Destroying and Finalizing Objects
- Subclasses and Inheritance
- Data Hiding and Encapsulation
- Abstract Classes and Methods
- Important Methods of java.lang.Object
- Interfaces
- Nested Types
- Modifier Summary
- C++ Features Not Found in Java
-
Chapter 4 Java 5.0 Language Features
- Generic Types
- Enumerated Types
- Annotations
-
Chapter 5 The Java Platform
- Java Platform Overview
- Text
- Numbers and Math
- Dates and Times
- Arrays
- Collections
- Threads and Concurrency
- Files and Directories
- Input/Output with java.io
- Networking with java.net
- I/O and Networking with java.nio
- XML
- Types, Reflection, and Dynamic Loading
- Object Persistence
- Security
- Cryptography
- Miscellaneous Platform Features
-
Chapter 6 Java Security
- Security Risks
- Java VM Security and Class File Verification
- Authentication and Cryptography
- Access Control
- Security for Everyone
- Permission Classes
-
Chapter 7 Programming and Documentation Conventions
- Naming and Capitalization Conventions
- Portability Conventions and Pure Java Rules
- Java Documentation Comments
- JavaBeans Conventions
-
Chapter 8 Java Development Tools
-
-
API Quick Reference
-
Chapter 9 java.io
-
Chapter 10 java.lang and Subpackages
-
Chapter 11 java.math
-
Chapter 12 java.net
-
Chapter 13 java.nio and Subpackages
-
Chapter 14 java.security and Subpackages
-
Chapter 15 java.text
-
Chapter 16 java.util and Subpackages
-
Chapter 17 javax.crypto and Subpackages
-
Chapter 18 javax.net and javax.net.ssl
-
Chapter 19 javax.security.auth and Subpackages
-
Chapter 20 javax.xml and Subpackages
-
Chapter 21 org.w3c.dom
-
Chapter 22 org.xml.sax and Subpackages
-
Chapter 23 Class, Method, and Field Index
- A
- B
- C
- D
- E
- F
- G
- H
- I
- J
- K
- L
- M
- N
- O
- P
- Q
- R
- S
- T
- U
- V
- W
- X
- Y
- Z
-
-
Colophon

- Title:
- Java in a Nutshell, Fifth Edition
- By:
- David Flanagan
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- March 2005
- Ebook Release:
- June 2009
- Pages:
- 1264
- Print ISBN:
- 978-0-596-00773-7
- | ISBN 10:
- 0-596-00773-6
- Ebook ISBN:
- 978-0-596-10480-1
- | ISBN 10:
- 0-596-10480-4
-
David Flanagan
David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java in a Nutshell, Fifth Edition is a Javan tiger, a subspecies unique to the island of Java. Although this tiger once offered unrivaled research opportunities due to its genetic isolation, these opportunities have been permanently lost due to human encroachment on the Javan tiger's habitat: in a worst-case scenario for the tiger, Java developed into the most densely populated island on earth, and awareness of the subspecies' precarious position came too late to secure the animals' survival even in captivity. The last known sighting of the tiger was in 1972, and it is now presumed extinct. Jamie Peppard was the production editor and proofreader for Java in a Nutshell, Fifth Edition. Sarah Sherman, Darren Kelly, and Claire Cloutier provided quality control. Ellen Troutman Zaig wrote the index.
Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.
David Futato designed the interior layout. This book was converted by Andrew Savikas, Joe Wizda, and Ryan Grimm to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe PhotoShop 6. Jamie Peppard wrote this colophon.
![]() ©2010, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly
Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites
O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |