Java in a Nutshell - Benjamin J. Evans, David Flanagan

Java in a Nutshell

A Desktop Quick Reference. Covers Java 8
Buch | Softcover
418 Seiten
2014 | 6th Revised edition
O'Reilly Media (Verlag)
978-1-4493-7082-4 (ISBN)
62,80 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
The sixth edition of Java in a Nutshell helps experienced Java programmers get the most out of Java 7 and 8, but it's also a learning path for new developers. With examples rewritten to take full advantage of modern Java APIs and development best practices, this fully updated book brings you up to date.
The latest edition of Java in a Nutshell is designed to help experienced Java programmers get the most out of Java 7 and 8, but it’s also a learning path for new developers. Chock full of examples that demonstrate how to take complete advantage of modern Java APIs and development best practices, the first section of this thoroughly updated book provides a fast-paced, no-fluff introduction to the Java programming language and the core runtime aspects of the Java platform.

The second section is a reference to core concepts and APIs that shows you how to perform real programming work in the Java environment.
  • Get up to speed on language details, including Java 8 changes
  • Learn object-oriented programming, using basic Java syntax
  • Explore generics, enumerations, annotations, and lambda expressions
  • Understand basic techniques used in object-oriented design
  • Examine concurrency and memory, and how they’re intertwined
  • Work with Java collections and handle common data formats
  • Delve into Java’s latest I/O APIs, including asynchronous channels
  • Use Nashorn to execute JavaScript on the Java Virtual Machine
  • Become familiar with development tools in OpenJDK

Ben Evans is theCo-founder and Technology Fellow of jClarity, a startup which delivers performance tools to help development & ops teams. He helps to organise the London Java Community, and represents them on the Java Community Process Executive Committee where he works to define new standards for the Java ecosystem. He is a Java Champion; JavaOne Rockstar; co-author of “The Well-Grounded Java Developer” and a regular public speaker on the Java platform, performance, concurrency, and related topics.

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

Introducing Java
Chapter 1Introduction to the Java Environment
The Language, the JVM, and the Ecosystem
A Brief History of Java and the JVM
The Lifecycle of a Java Program
Java Security
Comparing Java to Other Languages
Answering Some Criticisms of Java
Chapter 2Java Syntax from the Ground Up
Java Programs from the Top Down
Lexical Structure
Primitive Data Types
Expressions and Operators
Statements
Methods
Introduction to Classes and Objects
Arrays
Reference Types
Packages and the Java Namespace
Java File Structure
Defining and Running Java Programs
Summary
Chapter 3Object-Oriented Programming in Java
Overview of Classes
Fields and Methods
Creating and Initializing Objects
Subclasses and Inheritance
Data Hiding and Encapsulation
Abstract Classes and Methods
Modifier Summary
Chapter 4The Java Type System
Interfaces
Java Generics
Enums and Annotations
Nested Types
Lambda Expressions
Conclusion
Chapter 5Introduction to Object-Oriented Design in Java
Java Values
Important Methods of java.lang.Object
Aspects of Object-Oriented Design
Exceptions and Exception Handling
Safe Java Programming
Chapter 6Java’s Approach to Memory and Concurrency
Basic Concepts of Java Memory Management
How the JVM Optimizes Garbage Collection
The HotSpot Heap
Finalization
Java’s Support for Concurrency
Working with Threads
Summary
Working with the Java Platform
Chapter 7Programming and Documentation Conventions
Naming and Capitalization Conventions
Practical Naming
Java Documentation Comments
Conventions for Portable Programs
Chapter 8Working with Java Collections
Introduction to Collections API
Lambda Expressions in the Java Collections
Conclusion
Chapter 9Handling Common Data Formats
Text
Numbers and Math
Java 8 Date and Time
Conclusion
Chapter 10File Handling and I/O
Classic Java I/O
Modern Java I/O
NIO Channels and Buffers
Async I/O
Networking
Chapter 11Classloading, Reflection, and Method Handles
Class Files, Class Objects, and Metadata
Phases of Classloading
Secure Programming and Classloading
Applied Classloading
Reflection
Dynamic Proxies
Method Handles
Chapter 12Nashorn
Introduction to Nashorn
Executing JavaScript with Nashorn
Nashorn and javax.script
Advanced Nashorn
Conclusion
Chapter 13Platform Tools and Profiles
Command-Line Tools
VisualVM
Java 8 Profiles
Conclusion

Erscheint lt. Verlag 24.10.2014
Reihe/Serie In a Nutshell
Verlagsort Sebastopol
Sprache englisch
Maße 152 x 229 mm
Gewicht 572 g
Einbandart Paperback
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Informatik Software Entwicklung Objektorientierung
Mathematik / Informatik Informatik Web / Internet
Schlagworte Java 8 (Programmiersprache) • Java 8 (Programmiersprache); Handbuch/Lehrbuch
ISBN-10 1-4493-7082-9 / 1449370829
ISBN-13 978-1-4493-7082-4 / 9781449370824
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
29,99
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90