Fully updated to reflect Java SE 7 language changes, Core Java®, Volume II—Advanced Features, Ninth Edition, is the definitive guide to Java’s most powerful features for enterprise and desktop application development.

 

Designed for serious programmers, this reliable, unbiased, no-nonsense tutorial illuminates advanced Java language and library features with thoroughly tested code examples. As in previous editions, all code is easy to understand and displays modern best-practice solutions to the realworld challenges faced by professional developers.

 

Volume II quickly brings you up-to-speed on key Java SE 7 enhancements, ranging from the new file I/O API to improved concurrency utilities. All code examples are updated to reflect these enhancements. Complete descriptions of new language and platform features are highlighted and integrated with insightful explanations of advanced Java programming techniques. You’ll learn all you need to build robust production software with 



Streams, files, and regular expressions
XML
Networking
Database programming facilities
JNDI/LDAP directory integration
Internationalization
Advanced Swing techniques
JavaBeans components
Web services
Advanced platform security features
Annotations
Distributed objects
Native methods, and more 

For detailed coverage of fundamental Java SE 7 features, including objects, classes, inheritance, interfaces, reflection, events, exceptions, graphics, Swing, generics, collections, concurrency, and debugging, look for Core Java™, Volume I—Fundamentals, Ninth Edition (ISBN-13: 978-0-13-708189-9).

Core Java

by Cay S Horstmann

Published 26 August 2004

The #1 Java Guide for Serious Programmers: Fully Updated for Java SE 9, 10 & 11

 

For serious programmers, Core Java, Volume I—Fundamentals, Eleventh Edition, is the definitive guide to writing robust, maintainable code. Whether you’re using Java SE 9, 10, or 11, it will help you achieve a deep and practical understanding of the language and API, and its hundreds of realistic examples reveal the most powerful and effective ways to get the job done.

 

Cay Horstmann’s updated examples reflect Java’s long-awaited modularization, showing how to write code that’s easier to manage and evolve. You’ll learn how to use JShell’s new Read-Eval-Print Loop (REPL) for more rapid and exploratory development, and apply key improvements to the Process API, contended locking, logging, and compilation.

 

In this first of two volumes, Horstmann offers in-depth coverage of fundamental Java and UI programming, including objects, generics, collections, lambda expressions, Swing design, concurrency, and functional programming. If you’re an experienced programmer moving to Java SE 9, 10, or 11, there’s no better source for expert insight, solutions, and code.

  • Master foundational techniques, idioms, and best practices for writing superior Java code
  • Leverage the power of interfaces, lambda expressions, and inner classes
  • Harden programs through effective exception handling and debugging
  • Write safer, more reusable code with generic programming
  • Improve performance and efficiency with Java’s standard collections
  • Build cross-platform GUIs with the Swing toolkit
  • Fully utilize multicore processors with Java’s improved concurrency

See Core Java, Volume II—Advanced Features, Eleventh Edition (ISBN-13: 978-0-13-516631-4, coming in 2018), for expert coverage of Java 9, 10, and 11 enterprise features, the module system, annotations, networking, security, and advanced UI programming.

 

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.


This is the eBook version of the printed book.

Based on material from the forthcoming second edition of Core JavaServer™ Faces by David Geary and Cay Horstmann, this short cut explores how to use JavaServer Faces and AJAX (Asynchronous JavaScript with XMLHttpRequest) to create rich user interfaces. Starting with a brief review of Ajax fundamentals, it goes on to cover



Implementing Ajax with a servlet in a JSF application
Using JSF phase listeners for more complex Ajax scenarios
Form completion and real-time validation
Accessing UI view state from an Ajax call
Client-side state saving and Ajax
Direct Web Remoting with DWR

Finally, after concisely explaining JSF components that wrap existing JavaScript components using Prototype, Scriptaculous, Dojo, and Rico, this Short Cut briefly explores how to use the Ajax4jsf framework to seamlessly integrate Ajax into JSF applications.

Core NT Web Server

by Pratik Patel and etc.

Published 15 July 1998


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.