图书介绍

Java核心技术卷2:高级特性(第8版)(英文版)

  • [美] 霍斯特曼(Horstmann C.S.) 著
  • 出版社: 人民邮电出版社
  • ISBN:9787115210586
  • 版次:1
  • 商品编码:10063690
  • 包装:平装
  • 外文名称:Core Java VolumeⅡ:Advanced Featuers,Eighth Edition
  • 开本:16开
  • 出版时间:2009-09-01
  • 用纸:胶版纸
  • 页数:1032
  • 字数:1416000
  • 正文语种:英语

淘宝优惠券

淘宝优惠券

PDF下载

立即下载 高速下载

图书目录

1 STREAMS AND FILES
Streams
Reading and Writing Bytes
The Complete Stream Zoo
Combining Stream Filters
Text Input and Output
How to Write Text Output
How to Read Text Input
Saving Objects in Text Format
Character Sets
Reading and Writing Binary Data
Random-Access Files
ZIP Archives
Object Streams and Serialization
Understanding the Object Serialization File Format
Modifying the Default Serialization Mechanism
Serializing Singletons and Typesafe Enumerations
Versioning
Using Serialization for Cloning
File Management
New I/O
Memory-Mapped Files
The Buffer Data Structure
File Locking
Regular Expressions

2 XML
Introducing XML
The Structure of an XML Document
Parsing an XML Document
Validating XML Documents
Document Type Definitions
XML Schema
A Practical Example
Locating Information with XPath
Using Namespaces
Streaming Parsers
Using the SAX Parser
Using the StAX Parser
Generating XML Documents
Writing an XML Document with StAX
XSL Transformations

3 NETWORKING
Connecting to a Server
Socket Timeouts
Internet Addresses
Implementing Servers
Serving Multiple Clients
Half-Close
Interruptible Sockets
Sending E-Mail
Making URL Connections
URLs and URIs
Using a URLConnection to Retrieve Information
Posting Form Data

4 DATABASE PROGRAMMING
The Design of JDBC
JDBC Driver Types
Typical Uses of JDBC
The Structured Query Language
JDBC Configuration
Database URLs
Driver JAR Files
Starting the Database
Registering the Driver Class
Connecting to the Database
Executing SQL Statements
Managing Connections, Statements, and Result Sets
Analyzing SQL Exceptions
Populating a Database
Query Execution
Prepared Statements
Reading and Writing LOBs
SQL Escapes
Multiple Results
Retrieving Autogenerated Keys
Scrollable and Updatable Result Sets
Scrollable Result Sets
Updatable Result Sets
Row Sets
Cached Row Sets
Metadata
Transactions
Save Points
Batch Updates
Advanced SQL Types
Connection Management in Web and Enterprise Applications
Introduction to LDAP
Configuring an LDAP Server
Accessing LDAP Directory Information

5 INTERNATIONALIZATION
Locales
Number Formats
Currencies
Date and Time
Collation
Collation Strength
Decomposition
Message Formatting
Choice Formats
Text Files and Character Sets
Character Encoding of Source Files
Resource Bundles
Locating Resource Bundles
Property Files
Bundle Classes
A Complete Example

6 ADVANCED SWING
Lists
The JList Component
List Models
Inserting and Removing Values
Rendering Values
Tables
A Simple Table 370 Table Models
Working with Rows and Columns
Cell Rendering and Editing
Trees 405 Simple Trees
Node Enumeration
Rendering Nodes
Listening to Tree Events
Custom Tree Models
Text Components
Change Tracking in Text Components
Formatted Input Fields
The JSpinner Component
Displaying HTML with the JEditorPane
Progress Indicators
Progress Bars
Progress Monitors
Monitoring the Progress of Input Streams
Component Organizers
Split Panes
Tabbed Panes
Desktop Panes and Internal Frames
Cascading and Tiling
Vetoing Property Settings

7 ADVANCED AWT
The Rendering Pipeline
Shapes
Using the Shape Classes
Areas
Strokes
Paint
Coordinate Transformations
Clipping
Transparency and Composition
Rendering Hints
Readers and Writers for Images
Obtaining Readers and Writers for Image File Types
Reading and Writing Files with Multiple Images
Image Manipulation
Constructing Raster Images
Filtering Images
Printing
Graphics Printing
Multiple-Page Printing
Print Preview
Print Services
Stream Print Services
Printing Attributes
The Clipboard
Classes and Interfaces for Data Transfer
Transferring Text
The Transferable Interface and Data Flavors
Building an Image Transferable
Transferring Java Objects via the System Clipboard
Using a Local Clipboard to Transfer Object References
Drag and Drop
Data Transfer Support in Swing
Drag Sources
Drop Targets
Platform Integration
Splash Screens
Launching Desktop Applications
The System Tray

8 JAVABEANS COMPONENTS
Why Beans?
The Bean-Writing Process
Using Beans to Build an Application
Packaging Beans in JAR Files
Composing Beans in a Builder Environment
Naming Patterns for Bean Properties and Events
Bean Property Types
Simple Properties
Indexed Properties
Bound Properties
Constrained Properties
BeanInfo Classes
Property Editors
Writing Property Editors
Customizers
Writing a Customizer Class
JavaBeans Persistence
Using JavaBeans Persistence for Arbitrary Data
A Complete Example for JavaBeans Persistence

9 SECURITY
Class Loaders
The Class Loader Hierarchy
Using Class Loaders as Namespaces
Writing Your Own Class Loader
Bytecode Verification
Security Managers and Permissions
Java Platform Security
Security Policy Files
Custom Permissions
Implementation of a Permission Class
User Authentication
JAAS Login Modules
Digital Signatures
Message Digests
Message Signing
The X.
Certificate Format
Verifying a Signature
The Authentication Problem
Certificate Signing
Certificate Requests
Code Signing
JAR File Signing
Software Developer Certificates
Encryption
Symmetric Ciphers
Key Generation
Cipher Streams
Public Key Ciphers

10 DISTRIBUTED OBJECTS
The Roles of Client and Server
Remote Method Calls
Stubs and Parameter Marshalling
The RMI Programming Model
Interfaces and Implementations
The RMI Registry
Deploying the Program
Logging RMI Activity
Parameters and Return Values in Remote Methods
Transferring Remote Objects
Transferring Nonremote Objects
Dynamic Class Loading
Remote References with Multiple Interfaces
Remote Objects and the equals, hashCode, and clone Methods
Remote Object Activation
Web Services and JAX-WS
Using JAX-WS
A Web Service Client
The Amazon E-Commerce Service

11 SCRIPTING, COMPILING, AND ANNOTATION PROCESSING
Scripting for the Java Platform
Getting a Scripting Engine
Script Evaluation and Bindings
Redirecting Input and Output
Calling Scripting Functions and Methods
Compiling a Script
An Example: Scripting GUI Events
The Compiler API
Compiling the Easy Way
Using Compilation Tasks
An Example: Dynamic Java Code Generation
Using Annotations
An Example: Annotating Event Handlers
Annotation Syntax
Standard Annotations
Annotations for Compilation
Annotations for Managing Resources
Meta-Annotations
Source-Level Annotation Processing
Bytecode Engineering
Modifying Bytecodes at Load Time

12 NATIVE METHODS
Calling a C Function from a Java Program
Numeric Parameters and Return Values
Using printf for Formatting Numbers
String Parameters
Accessing Fields
Accessing Instance Fields
Accessing Static Fields
Encoding Signatures
Calling Java Methods
Instance Methods
Static Methods
Constructors
Alternative Method Invocations
Accessing Array Elements
Handling Errors
Using the Invocation API
A Complete Example: Accessing the Windows Registry
Overview of the Windows Registry
A Java Platform Interface for Accessing the Registry
Implementation of Registry Access Functions as Native Methods

Index

查看全部 ↓

精品推荐