Book description
The Classic Guide to Advanced Java Programming: Fully Updated for Java 17
Core Java is 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, Twelfth Edition, has been revised to cover the new features and enhancements in the Java 17 long-term support release. As always, all chapters have been completely updated, outdated material has been removed, and the new APIs are covered in detail.
This volume focuses on the advanced topics that a programmer needs to know for professional software development and includes authoritative coverage of enterprise programming, networking, databases, security, modularization, internationalization, code processing, and native methods, as well as complete chapters on the Streams, XML, and Date and Time APIs. In addition, the chapter on Advanced Swing and Graphics covers techniques that are applicable to both client-side user interfaces and server-side generation of graphics and images.
Cay S. Horstmann clearly explains sophisticated new features with depth and completeness and demonstrates how to use them to build professional-quality applications. Horstmann's thoroughly tested sample code reflects modern Java style and best practices. The examples are carefully crafted for easy understanding and maximum practical value, so you can rely on them to jump-start your own programs.
Master advanced techniques, idioms, and best practices for writing reliable Java code
Make the most of enhanced Java I/O APIs, object serialization, and regular expressions
Efficiently connect to network services, implement servers and the new HTTP/2 client, and harvest web data
Process code via the Scripting and Compiler APIs, and use annotations to generate code and files
Deepen your understanding of the Java Platform Module System, including recent refinements
Leverage the Java security model, user authentication, and the security librarys cryptographic functions
Preview powerful new APIs for accessing "foreign" functions and memory
See Core Java, Volume I: Fundamentals, Twelfth Edition, for expert coverage of Java programming fundamentals, including objects, generics, collections, lambda expressions, concurrency, and functional programming.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
Table of contents
- Cover Page
- About This eBook
- Halftitle Page
- Title Page
- Copyright Page
- Pearson’s Commitment to Diversity, Equity, and Inclusion
- Contents
- Preface
- Acknowledgments
-
Chapter 1. Streams
- 1.1 From Iterating to Stream Operations
- 1.2 Stream Creation
- 1.3 The filter, map, and flatMap Methods
- 1.4 Extracting Substreams and Combining 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
- Chapter 6. The Date and Time API
- Chapter 7. Internationalization
- Chapter 8. Scripting, Compiling, and Annotation Processing
-
Chapter 9. The Java Platform Module System
- 9.1 The Module Concept
- 9.2 Naming Modules
- 9.3 The Modular “Hello, World!” Program
- 9.4 Requiring Modules
- 9.5 Exporting Packages
- 9.6 Modular JARs
- 9.7 Modules and Reflective Access
- 9.8 Automatic Modules
- 9.9 The Unnamed Module
- 9.10 Command-Line Flags for Migration
- 9.11 Transitive and Static Requirements
- 9.12 Qualified Exporting and Opening
- 9.13 Service Loading
- 9.14 Tools for Working with Modules
- Chapter 10. Security
- Chapter 11. Advanced Swing and Graphics
-
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
- 12.11 Foreign Functions: A Glimpse into the Future
- Index
- Code Snippets
Product information
- Title: Core Java, Vol. II-Advanced Features, 12th Edition
- Author(s):
- Release date: April 2022
- Publisher(s): Oracle Press
- ISBN: 9780137870899
You might also like
book
Core Java, Volume I: Fundamentals, 12th Edition
The #1 Java Guide for Serious Programmers: Fully Updated through Java 17 Core Java, Volume I: …
book
Java: The Complete Reference, Twelfth Edition, 12th Edition
The Definitive Java Programming Guide Fully updated for Java SE 17, Java™: The Complete Reference, Twelfth …
video
The Complete Java Developer Course: From Beginner to Master
Be it websites, mobile apps, or desktop software, Java remains one of the most popular programming …
video
Java 8 Fundamentals: Modern Java Development with Lambdas, Streams, and Introducing Java 9’s JShell and the Java Platform Module System (JPMS)
54+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Java™ SE 7 …