Buy Core Java, Volume II by Cay S. Horstmann - Bookswagon
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Core Java, Volume II: Advanced Features(Oracle Press for Java)
Core Java, Volume II: Advanced Features(Oracle Press for Java)

Core Java, Volume II: Advanced Features(Oracle Press for Java)


     0     
5
4
3
2
1



International Edition


X
About the Book

The Classic Guide to the Java Programming Language--Fully Updated through Java 25

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, Fourteenth Edition, has been revised to cover the new features and enhancements in the Java 25 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 fi le processing, networking, databases, security, internationalization, compiling and scripting, and foreign functions, 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.

  • Effectively use Java streams, including new Java 25 features such as stream gatherers
  • 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, and generate code with the new Class File API
  • Leverage the Java security model, user authentication, and the security library's cryptographic functions
  • Learn 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, Fourteenth Edition, for expert coverage of Java programming fundamentals, including objects, generics, collections, lambda expressions, concurrency, modularity, 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:

Preface xiii
Acknowledgments xvii

Chapter 1: Streams 1
1.1 From Iterating to Stream Operations 1
1.2 Stream Creation 4
1.3 The filter, map, and flatMap Methods 10
1.4 Extracting Substreams and Combining Streams 12
1.5 Other Stream Transformations 13
1.6 Simple Reductions 14
1.7 The Optional Type 16
1.8 Collecting Results 24
1.9 Collectors 25
1.10 Reduction Operations 43
1.11 Gatherers 45
1.12 Primitive Type Streams 52
1.13 Parallel Streams 58

Chapter 2: Input and Output 63
2.1 Input/Output Streams 63
2.2 Reading and Writing Binary Data 87
2.3 Working with Files 96
2.4 Memory-Mapped Files 113
2.5 File Locking 123
2.6 Object Input/Output Streams and Serialization 126
2.7 Regular Expressions 150

Chapter 3: XML 167
3.1 Introducing XML 167
3.2 The Structure of an XML Document 169
3.3 Parsing an XML Document 172
3.4 Validating XML Documents 181
3.5 Locating Information with XPath 199
3.6 Using Namespaces 203
3.7 Streaming Parsers 206
3.8 Generating XML Documents 215
3.9 XSL Transformations 225

Chapter 4: Networking 237
4.1 Connecting to a Server 237
4.2 Implementing Servers 245
4.3 Getting Web Data 259
4.4 The HTTP Client 277
4.5 The Simple HTTP Server 286
4.6 Sending E-Mail 290

Chapter 5: Database Programming 293
5.1 The Design of JDBC 293
5.2 The Structured Query Language 296
5.3 JDBC Configuration 302
5.4 Working with JDBC Statements 307
5.5 Query Execution 317
5.6 Scrollable and Updatable Result Sets 328
5.7 Row Sets 334
5.8 Metadata 338
5.9 Transactions 345
5.10 Connection Management in Web and Enterprise Applications 351

Chapter 6: The Date and Time API 353
6.1 The Time Line 353
6.2 Local Dates 357
6.3 Date Adjusters 362
6.4 Local Time 364
6.5 Zoned Time 365
6.6 Formatting and Parsing 369
6.7 Interoperating with Legacy Code 375

Chapter 7: Internationalization 377
7.1 Locales 377
7.2 Number Formats 384
7.3 Date and Time 393
7.4 Collation and Normalization 397
7.5 Message Formatting 402
7.6 Text Boundaries 407
7.7 Text Input and Output 408
7.8 Resource Bundles 411
7.9 A Complete Example 415

Chapter 8: Compiling and Scripting 421
8.1 The Compiler API 421
8.2 Scripting for the Java Platform 430

Chapter 9: Security 441
9.1 Class Loaders 442
9.2 User Authentication 455
9.3 Digital Signatures 465
9.4 Encryption 480

Chapter 10: Graphical User Interface Programming 491
10.1 A History of Java User Interface Toolkits 491
10.2 Displaying Frames 493
10.3 Displaying Information in a Component 499
10.4 Event Handling 520
10.5 The Preferences API 544

Chapter 11: User Interface Components with Swing 551
11.1 Swing and the Model-View-Controller Design Pattern 551
11.2 Introduction to Layout Management 556
11.3 Text Input 562
11.4 Choice Components 569
11.5 Menus 588
11.6 The Grid Bag Layout 606
11.7 Custom Layout Managers 616
11.8 Dialog Boxes 620

Chapter 12: Advanced Swing and Graphics 645
12.1 Tables 645
12.2 Working with Rows and Columns 653
12.3 Cell Rendering and Editing 669
12.4 Trees 680
12.5 Advanced AWT 719
12.6 Raster Images 764
12.7 Printing 789

Chapter 13: The Foreign Functions and Memory API 823
13.1 Using JNI to Call C Code from a Java Program 824
13.2 Using FFM to Call a Foreign Function 830
13.3 Arenas 831
13.4 Memory Segments 832
13.5 Memory Layout 834
13.6 Looking Up and Invoking Foreign Functions 837
13.7 Callbacks 844
13.8 Advanced Topics 847

Index 853



About the Author :

Cay S. Horstmann is author of Modern JavaScript for the Impatient (2020), Core Java(R) for the Impatient, Third Edition (2022), Scala for the Impatient, Second Edition (2016), and Java SE 8 for the Really Impatient (2014), all from Addison-Wesley. He has written more than a dozen books for professional programmers and computer science students. He is an emeritus professor of computer science at San Jose State University and a Java Champion.


Best Sellers


Product Details
  • ISBN-13: 9780135558690
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 235 mm
  • No of Pages: 944
  • Series Title: Oracle Press for Java
  • Sub Title: Advanced Features
  • Width: 190 mm
  • ISBN-10: 0135558697
  • Publisher Date: 10 Nov 2025
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Spine Width: 50 mm
  • Weight: 1712 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Core Java, Volume II: Advanced Features(Oracle Press for Java)
Pearson Education (US) -
Core Java, Volume II: Advanced Features(Oracle Press for Java)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Core Java, Volume II: Advanced Features(Oracle Press for Java)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!