Java核心技术

Java核心技术

(美) 霍斯特曼 (Horstmann,C.S.) , (美) 科奈尔 (Cornell,G.) , 著

出版社:人民邮电出版社

年代:2009

定价:108.0

书籍简介:

本书全面覆盖了Java技术的高级主题。主要内容包括流与文件、XML、网络、数据库编程、高级Swing、高级AWT、JavaBean构件、安全、分布式对象、脚本、编译与注解处理,同时还介绍了本地化、国际化以及Java SE 6等内容。

作者介绍:

Cay S.Horstmann是Core JavaServer Faces,Second Edition一书的作者之一。Cay是San Jose州立大学计算机科学系的教授,Java的支持者,也是活跃于计算机业界会议的演讲者。   Gary COrnell编写编程技术方面的书籍并教授相关知识已有20多年。是Apress的创始人之一。他编写了许多有关编程技术方面的畅销书。曾获Jolt大奖。还赢得了Visual Basic Magazine Readers Choice大奖。

书籍目录:

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

内容摘要:

《Java核心技术 卷2:高级特性(第8版)(英文版)》内容全面丰富,覆盖了Java技术的所有高级主题,主要包括流与文件、XML、网络、数据库编程、高级Swing、高级AWT、JavaBean构件、安全、分布式对象、脚本、编译与注解处理,还介绍了本地化、国际化以及Java SE 6等内容。《Java核心技术 卷2:高级特性(第8版)(英文版)》讲解深入透彻,在上一版的基础上对JDK 6.0中的新特性进行了重点介绍,并包含大量示例,所有示例代码都对应Java SE 6进行了全面更新。
  《Java核心技术 卷2:高级特性(第8版)(英文版)》可帮助读者充分理解Java语言和Java类库的相关特性,主要针对将Java技术运用于实际项目的编程人员。

编辑推荐:

《Java核心技术 卷2:高级特性(第8版)(英文版)》是Core Java,Volume//: Advanced Features的最新版本,主要介绍Java SE 6平台的高级用户界面设计和企业特性等内容。书中精心安排的示例程序用于演示最新的编程技术,并针对专业开发者在现实中遇到的问题提供最佳解决方案。
  关于Java基础知识的介绍,包括接口与内部类、使用Swjng的GUI编程、异常处理、泛型、集合和并发等内容,可参阅《Java核心技术卷I:基础知识(第8版)》。

书籍规格:

书籍详细信息
书名Java核心技术站内查询相似图书
9787115210586
如需购买下载《Java核心技术》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN
出版地北京出版单位人民邮电出版社
版次1版印次1
定价(元)108.0语种英文
尺寸26装帧平装
页数 526 印数 3000

书籍信息归属:

Java核心技术是人民邮电出版社于2009.07出版的中图分类号为 TP312 的主题关于 JAVA语言-程序设计-英文 的书籍。