Book description
Core Java® has long been recognized as the leading, no-nonsense tutorial and reference for experienced programmers who want to write robust Java code for real-world applications. Now, Core Java®, Volume II—Advanced Features, Tenth Edition, has been extensively updated to reflect the most eagerly awaited and innovative version of Java in years: Java SE 8. Rewritten and reorganized to illuminate powerful new Java features, idioms, and best practices for enterprise and desktop development, it contains hundreds of up-to-date example programs—all carefully crafted for easy understanding and practical applicability.
Writing for serious programmers solving real-world problems, Cay Horstmann deepens your understanding of today’s Java language and library. In this second of two updated volumes, he offers in-depth coverage of advanced topics including the new Streams API and date/time/calendar library, advanced Swing, security, code processing, and more. This guide will help you
Use the new Streams library to process collections more flexibly and efficiently
Efficiently access files and directories, read/write binary or text data, and serialize objects
Work with Java SE 8’s regular expression package
Make the most of XML in Java: parsing, validation, XPath, document generation, XSL, and more
Efficiently connect Java programs to network services
Program databases with JDBC 4.2
Elegantly overcome date/time programming complexities with the new java.time API
Write internationalized programs with localized dates/times, numbers, text, and GUIs
Process code with the scripting API, compiler API, and annotation processors
Enforce security via class loaders, bytecode verification, security managers, permissions, user authentication, digital signatures, code signing, and encryption
Master advanced Swing components for lists, tables, trees, text, and progress indicators
Produce high-quality drawings with the Java 2D API
Use JNI native methods to leverage code in other languages
If you’re an experienced programmer moving to Java SE 8, Core Java®, Tenth Edition, is the reliable, practical, and complete guide to the Java platform that has been trusted by developers for over twenty years.
Look for the companion volume, Core Java®, Volume I—Fundamentals, Tenth Edition (ISBN-13: 978-0-13-417730-4), for foundational coverage of Java 8 language concepts, UI programming, objects, generics, collections, lambda expressions, concurrency, functional programming, and more.
Table of contents
- About This E-Book
- Title Page
- Copyright Page
- Contents
- Preface
- Acknowledgments
-
Chapter 1: The Java SE 8 Stream Library
- 1.1 From Iterating to Stream Operations
- 1.2 Stream Creation
- 1.3 The filter, map, and flatMap Methods
- 1.4 Extracting Substreams and Concatenating Streams
- 1.5 Other Stream Transformations
- 1.6 Simple Reductions
- 1.7 The Optional Type
- 1.8 Collecting Results
- 1.9 Collecting into Maps
- 1.10 Grouping and Partitioning
- 1.11 Downstream Collectors
- 1.12 Reduction Operations
- 1.13 Primitive Type Streams
- 1.14 Parallel Streams
- Chapter 2: Input and Output
- Chapter 3: XML
- Chapter 4: Networking
-
Chapter 5: Database Programming
- 5.1 The Design of JDBC
- 5.2 The Structured Query Language
- 5.3 JDBC Configuration
- 5.4 Working with JDBC Statements
- 5.5 Query Execution
- 5.6 Scrollable and Updatable Result Sets
- 5.7 Row Sets
- 5.8 Metadata
- 5.9 Transactions
- 5.10 Advanced SQL Types
- 5.11 Connection Management in Web and Enterprise Applications
- Chapter 6: The Date and Time API
- Chapter 7: Internationalization
- Chapter 8: Scripting, Compiling, and Annotation Processing
- Chapter 9: Security
-
Chapter 10: Advanced Swing
- 10.1 Lists
- 10.2 Tables
- 10.3 Trees
- 10.4 Text Components
- 10.5 Progress Indicators
- 10.6 Component Organizers and Decorators
-
Chapter 11: Advanced AWT
- 11.1 The Rendering Pipeline
- 11.2 Shapes
- 11.3 Areas
- 11.4 Strokes
- 11.5 Paint
- 11.6 Coordinate Transformations
- 11.7 Clipping
- 11.8 Transparency and Composition
- 11.9 Rendering Hints
- 11.10 Readers and Writers for Images
- 11.11 Image Manipulation
- 11.12 Printing
- 11.13 The Clipboard
- 11.14 Drag and Drop
- 11.15 Platform Integration
-
Chapter 12: Native Methods
- 12.1 Calling a C Function from a Java Program
- 12.2 Numeric Parameters and Return Values
- 12.3 String Parameters
- 12.4 Accessing Fields
- 12.5 Encoding Signatures
- 12.6 Calling Java Methods
- 12.7 Accessing Array Elements
- 12.8 Handling Errors
- 12.9 Using the Invocation API
- 12.10 A Complete Example: Accessing the Windows Registry
- Index
- Code Snippets
Product information
- Title: Core Java, Volume II—Advanced Features, Tenth Edition
- Author(s):
- Release date: December 2016
- Publisher(s): Pearson
- ISBN: 9780134177878
You might also like
book
Core Java, Volume II--Advanced Features, 11th Edition
Core Java® has long been recognized as the leading, no-nonsense tutorial and reference for experienced programmers …
book
Core Java, Volume I Fundamentals, 11th Edition
The #1 Java Guide for Serious Programmers: Fully Updated for Java SE 9, 10 & 11 …
video
Core Java 11 Advanced, Second Edition
7 Hours of Video Instruction , have long been recognized as the leading, no-nonsense tutorial and …
book
Core Java, Vol. II-Advanced Features, 12th Edition
The Classic Guide to Advanced Java Programming: Fully Updated for Java 17 Core Java is the …