Whatever version of Java you are using, Core Java, Volume I: Fundamentals, Thirteenth Edition, will help you achieve a deep and practical understanding of the language and APIs. With hundreds of realistic examples, Java Champion Cay S. Horstmann demonstrates the most powerful and effective ways to g
Core Java, Volume II: Advanced Features, 13th Edition (Early Release)
โ Scribed by Cay S. Horstmann
- Publisher
- Addison-Wesley Professional
- Year
- 2024
- Tongue
- English
- Leaves
- 944
- Edition
- 13
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
The Classic Guide to Advanced Java Programming: Fully Updated for Java 21.
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, Thirteenth Edition, has been revised to cover the new features and enhancements in the Java 21 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 chapters on Swing and Graphics cover 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.
In Chapter 1, you will learn all about the Java stream library that brings a modern flavor to processing data, by specifying what you want without describing in detail how the result should be obtained. This allows the stream library to focus on an optimal evaluation strategy, which is particularly advantageous for executing computations in parallel with multiple cores.
The topic of Chapter 2 is input and output handling (I/O). In Java, all input and output is handled through input/output streams. These streams (not to be confused with those in Chapter 1) let you deal, in a uniform manner, with communications among various sources of data, such as files, network connections, or memory blocks. We include detailed coverage of the reader and writer classes that make it easy to deal with Unicode. We show you what goes on under the hood when you use the object serialization mechanism, which makes saving and loading objects easy and convenient. We then move on to regular expressions and working with files and paths. Throughout this chapter, you will find welcome enhancements in recent Java versions.
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
Connect to network services, harvest web data with the HTTP/2 client, and serve data with the built-in web server or implement your own server
Process code via the Scripting and Compiler APIs
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
"This is the definitive reference and instructional work for Java and the Java ecosystem."
--Andrew Binstock, Java Magazine
See Core Java, Volume I: Fundamentals, Thirteenth Edition, for expert coverage of Java programming fundamentals, including objects, generics, collections, lambda expressions, concurrency, and functional programming
โฆ Table of Contents
Table of Contents
Preface
To the Reader
A Tour of This Book
Conventions
Acknowledgments
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
2. Input and Output
2.1. Input/Output Streams
2.2. Reading and Writing Binary Data
2.3. Object Input/Output Streams and Serialization
2.4. Working with Files
2.5. Memory-Mapped Files
2.6. File Locking
2.7. Regular Expressions
3. XML
3.1. Introducing XML
3.2. The Structure of an XML Document
3.3. Parsing an XML Document
3.4. Validating XML Documents
3.5. Locating Information with XPath
3.6. Using Namespaces
3.7. Streaming Parsers
3.8. Generating XML Documents
3.9. XSL Transformations
4. Networking
4.1. Connecting to a Server
4.2. Implementing Servers
4.3. Getting Web Data
4.4. The HTTP Client
4.5. The Simple HTTP Server
4.6. Sending E-Mail
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. Connection Management in Web and Enterprise Applications
6. The Date and Time API
6.1. The Time Line
6.2. Local Dates
6.3. Date Adjusters
6.4. Local Time
6.5. Zoned Time
6.6. Formatting and Parsing
6.7. Interoperating with Legacy Code
7. Internationalization
7.1. Locales
7.2. Number Formats
7.3. Date and Time
7.4. Collation and Normalization
7.5. Message Formatting
7.6. Text Boundaries
7.7. Text Input and Output
7.8. Resource Bundles
7.9. A Complete Example
8. Compiling and Scripting
8.1. The Compiler API
8.2. Scripting for the Java Platform
9. Security
9.1. Class Loaders
9.2. User Authentication
9.3. Digital Signatures
9.4. Encryption
10. Graphical User Interface Programming
10.1. A History of Java User Interface Toolkits
10.2. Displaying Frames
10.3. Displaying Information in a Component
10.4. Event Handling
10.5. The Preferences API
11. User Interface Components with Swing
11.1. Swing and the Model-View-Controller Design Pattern
11.2. Introduction to Layout Management
11.3. Text Input
11.4. Choice Components
11.5. Menus
11.6. The Grid Bag Layout
11.7. Custom Layout Managers
11.8. Dialog Boxes
12. Advanced Swing and Graphics
12.1. Tables
12.2. Working with Rows and Columns
12.3. Cell Rendering and Editing
12.4. Trees
12.5. Advanced AWT
12.6. Raster Images
12.7. Printing
13. Native Methods
13.1. Calling a C Function from a Java Program
13.2. Numeric Parameters and Return Values
13.3. String Parameters
13.4. Accessing Fields
13.5. Encoding Signatures
13.6. Calling Java Methods
13.7. Accessing Array Elements
13.8. Handling Errors
13.9. Using the Invocation API
13.10. A Complete Example: Accessing the Windows Registry
13.11. Foreign Functions: A Glimpse into the Future
๐ SIMILAR VOLUMES
The Classic Guide to the Java Programming Language--Fully Updated through Java 21 Whatever version of Java you are using, Core Java, Volume I: Fundamentals, Thirteenth Edition, will help you achieve a deep and practical understanding of the language and APIs. With hundreds of realistic examples, Ja
<P style="MARGIN: 0px">Fully updated to reflect Java SE 7 language changes, <B> <I> <B>Core Javaยฎ, Volume IIโAdvanced Features, Ninth Edition,</B> </I> </B> is the definitive guide to Javaโs most powerful features for enterprise and desktop application development.</P> <P style="MARGIN: 0px">ย </P>
<p style="margin:0px;"> <i>Core Javaยฎ</i> 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, <i> <b>Core Javaยฎ, Volume IIโAdvanced Features, Tenth Edition,</b> </i> has been exte
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, Eleventh Edition, has been updated for Java 11, with up-to-date coverage of a