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

  1. Cover Page
  2. About This eBook
  3. Halftitle Page
  4. Title Page
  5. Copyright Page
  6. Pearson’s Commitment to Diversity, Equity, and Inclusion
  7. Contents
  8. Preface
  9. Acknowledgments
  10. Chapter 1. Streams
  11. Chapter 2. Input and Output
  12. Chapter 3. XML
  13. Chapter 4. Networking
  14. Chapter 5. Database Programming
  15. Chapter 6. The Date and Time API
  16. Chapter 7. Internationalization
  17. Chapter 8. Scripting, Compiling, and Annotation Processing
  18. Chapter 9. The Java Platform Module System
  19. Chapter 10. Security
  20. Chapter 11. Advanced Swing and Graphics
  21. Chapter 12. Native Methods
  22. Index
  23. Code Snippets