Core Java 2 Volume II - Advanced Features, Seventh Edition

book cover
• Table of Contents
• Index
Core Java™ 2 Volume II - Advanced Features, Seventh Edition
By Cay S. Horstmann, Gary Cornell
Publisher: Prentice Hall PTR
Pub Date: November 22, 2004
ISBN: 0-13-111826-9
Pages: 1024

Completely revised and up-to-date coverage of

  • Multithreadingincluding the java.util.concurrent library, locks, condition objects, futures, thread pools, thread-safe collections, threads and Swing

  • Collection classescollections framework, concrete collections, and generic utility methods

  • Annotations and metadatausing annotations to automate programming tasks, JDK™ 5.0 standard annotations, the apt tool for source-level annotation processing, and bytecode engineering

  • Advanced Swing and AWTlists, trees, tables, and other advanced components; image processing and printing

  • JavaBeans™including property editors, customizers, and long-term persistence

  • XMLDOM and SAX parsers, XPath, and XSL transformations

The seventh edition of Core Java™ 2, Volume II, covers advanced user-interface programming and the enterprise features of the Java 2 Platform, Standard Edition (J2SE™). Like Volume I (which covers the most important language and library features), this book has been completely updated and revised for J2SE 5.0. All of the sample programs have been updated and carefully crafted to illustrate practical solutions to the type of real-world problems professional developers encounter.

book cover
• Table of Contents
• Index
Core Java™ 2 Volume II - Advanced Features, Seventh Edition
By Cay S. Horstmann, Gary Cornell
Publisher: Prentice Hall PTR
Pub Date: November 22, 2004
ISBN: 0-13-111826-9
Pages: 1024

   List of Code Examples
      To the Reader
      About This Book
       Chapter 1.  Multithreading
      What Are Threads?
      Interrupting Threads
      Thread States
      Thread Properties
      Blocking Queues
      Thread-Safe Collections
      Callables and Futures
      Threads and Swing
       Chapter 2.  Collections
      Collection Interfaces
      Concrete Collections
      The Collections Framework
      Legacy Collections
       Chapter 3.  Networking
      Connecting to a Server
      Implementing Servers
      Sending E-Mail
      Making URL Connections
      Advanced Socket Programming
       Chapter 4.  Database Programming
      The Design of JDBC
      The Structured Query Language
      JDBC Installation
      Basic JDBC Programming Concepts
      Query Execution
      Scrollable and Updatable Result Sets
      Row Sets
      Advanced Connection Management
      Introduction to LDAP
       Chapter 5.  Distributed Objects
      The Roles of Client and Server
      Remote Method Invocations
      Setup for Remote Method Invocation
      Parameter Passing in Remote Methods
      Server Object Activation
      Java IDL and CORBA
      Remote Method Calls with SOAP
       Chapter 6.  Advanced Swing
      Styled Text Components
      Progress Indicators
      Component Organizers
       Chapter 7.  Advanced AWT
      The Rendering Pipeline
      Coordinate Transformations
      Transparency and Composition
      Rendering Hints
      Readers and Writers for Images
      Image Manipulation
      The Clipboard
      Drag and Drop
       Chapter 8.  JavaBeans Components
      Why Beans?
      The Bean-Writing Process
      Using Beans to Build an Application
      Naming Patterns for Bean Properties and Events
      Bean Property Types
      BeanInfo Classes
      Property Editors
      JavaBeans Persistence
       Chapter 9.  Security
      Class Loaders
      Bytecode Verification
      Security Managers and Permissions
      Digital Signatures
      Code Signing
       Chapter 10.  Internationalization
      Number Formats
      Date and Time
      Message Formatting
      Text Files and Character Sets
      Resource Bundles
      A Complete Example
       Chapter 11.  Native Methods
      Calling a C Function from the Java Programming Language
      Numeric Parameters and Return Values
      String Parameters
      Accessing Fields
      Encoding Signatures
      Calling Java Methods
      Accessing Array Elements
      Handling Errors
      Using the Invocation API
      A Complete Example: Accessing the Windows Registry
       Chapter 12.  XML
      Introducing XML
      Parsing an XML Document
      Validating XML Documents
      Locating Information with XPath
      Using Namespaces
      Using the SAX Parser
      Generating XML Documents
      XSL Transformations
       Chapter 13.  Annotations
      Addition of Metadata to Programs
      An Example: Annotating Event Handlers
      Annotation Syntax
      Standard Annotations
      The apt Tool for Source-Level Annotation Processing
      Bytecode Engineering