Core Java 2, Volume II--Advanced Features, 7/e

Cay S. Horstmann, Gary Cornell

  • 出版商: Prentice Hall
  • 出版日期: 2004-12-02
  • 售價: $2,330
  • 貴賓價: 9.5$2,214
  • 語言: 英文
  • 頁數: 1024
  • 裝訂: Paperback
  • ISBN: 0131118269
  • ISBN-13: 9780131118263
  • 相關分類: Java 程式語言
  • 已絕版

買這商品的人也買了...

商品描述

Description:

Completely revised and up-to-date coverage of

  • Multithreading—including the java.util.concurrent library, locks, condition objects, futures, thread pools, thread-safe collections, threads and Swing
  • Collection classes—collections framework, concrete collections, and generic utility methods
  • Annotations and metadata—using annotations to automate programming tasks, JDK™ 5.0 standard annotations, the apt tool for source-level annotation processing, and bytecode engineering
  • Advanced Swing and AWT—lists, trees, tables, and other advanced components; image processing and printing
  • JavaBeans™—including property editors, customizers, and long-term persistence
  • XML—DOM 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.

Volume II includes new sections on annotations and other J2SE 5.0 enhancements, along with complete coverage of

  • Multithreading
  • Distributed objects
  • Databases
  • JNDI and LDAP
  • Advanced GUI components
  • Native methods
  • XML processing
  • Network programming
  • Collection classes
  • Advanced graphics
  • Internationalization
  • JavaBeans
  • Annotations

 

Table of Contents:

List of Code Example.

Preface.

Acknowledgments.

1. Multithreading.

    What Are Threads?

    Interrupting Threads.

    Thread States.

    Thread Properties.

    Synchronization.

    Blocking Queues.

    Thread-Safe Collections.

    Callables and Futures.

    Executors.

    Synchronizers.

    Threads and Swing.

2. Collections.

    Collection Interfaces.

    Concrete Collections.

    The Collections Framework.

    Algorithms.

    Legacy Collections.

3. Networking.

    Connecting to a Server.

    Implementing Servers.

    Sending E-Mail.

    Making URL Connections.

    Advanced Socket Programming.

4. Database Programming.

    The Design of JDBC.

    The Structured Query Language.

    JDBC Installation.

    Basic JDBC Programming Concepts.

    Query Execution.

    Scrollable and Updatable Result Sets.

    Metadata.

    Row Sets.

    Transactions.

    Advanced Connection Management.

    Introduction to LDAP.

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.

6. Advanced Swing.

    Lists.

    Trees.

    Tables.

    Styled Text Components.

    Progress Indicators.

    Component Organizers.

7. Advanced AWT.

    The Rendering Pipeline.

    Shapes.

    Areas.

    Strokes.

    Paint.

    Coordinate Transformations.

    Clipping.

    Transparency and Composition.

    Rendering Hints.

    Readers and Writers for Images.

    Image Manipulation.

    Printing.

    The Clipboard.

    Drag and Drop.

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.

    Customizers.

    JavaBeans Persistence.

9. Security.

    Class Loaders.

    Bytecode Verification.

    Security Managers and Permissions.

    Digital Signatures.

    Code Signing.

    Encryption.

10. Internationalization.

    Locales.

     Number Formats.

    Date and Time.

    Collation.

    Message Formatting.

    Text Files and Character Sets.

    Resource Bundles.

    A Complete Example.

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.

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.

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.

Index.