Java Web Service教程:英文版

Java Web Service教程:英文版
作 者: 美Eric Armstrong
出版社: 高等教育出版社
丛编项: 国外优秀信息科学与技术系列教学用书
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: JAVA语言
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

  Eric Armstrong has written professionally on artificial intelligence programs,system libraries,real-time programs,and business application.He is the author of The JBuilder 2 Bible.Stephanie Bodoff is a senior staff writer at Sun microsystems and the leader writer on the Java Web Services Tutorial .She is Coauthor of the J2EE Turorial,Designing Enterpries Applications with the J2EE plaftorm,and Objes-oriented Software Development:The Fusion Method.

内容简介

《Java Web Service教程(影印版)(附光盘)》以案例驱动的形式完整地讲述如何运用Java技术构建Web Service应用系统。本书介绍如何用Sun Microsystems提供的Java Web Service Developer Pack (WSDP)从初始阶段进行开发。这种适合于实际应用的开发组件包含了构建和实施完整的Web Service应用系统所需的各种技术和手段。Web Service为企业运用各种计算工具实现有效沟通提供了强有力的新方法。这种方法具有完全便携式的数据模型,以在一种新的层次运用Java平台的“一次编程,到处运行”的特性。为了支持最新的基于XML的 Web Service的标准,针对XML应用的Java API使得以最小手工转换数据代价实现的 Web Service的构造变得简便易行。本指南性读物详尽地讲解了这些API,并提供了加强读者对主要概念理解的一些实例。《Java Web Service教程(影印版)(附光盘)》适用于Web Service的应用系统的实现类课程。Stephanie Bodoff是Sun Microsystems公司的专职作家。曾在分布式计算和通信系统中任软件工程师,并运用面向对象软件开发方法实现多种应用系统的设计。Maydene Fisher是经验丰富的技术型作家,擅长面向对象程序设计语言的软件开发文档写作。Dale Green是Sun Microsystems公司的专职作家,负责撰写J2EE平台文本。曾为商用系统开发程序,设计数据库,讲授技术型课程,现从事企业级JavaBeans技术和J2EE SDK等方面的写作。Kim Haase是Sun Microsystems公司的专职作家,负责撰写J2EE平台文本。曾参与编译器、调试器和基于浮点型数据的程序设计的开发工作,现从事Java Message Service和J2EE SDK工具等方面的写作。内容:1. Web Service简介 2. 了解XML 3. 利用Tomcat开展初期工作 4. 用于XML数据处理的Java API 5. 用于XML的简单API 6. 文档对象模型 7. XML样式表语言转换 8. 用于XML信息处理的Java API 9. 用于基于XML的远程过程控制的Java API 10. 用于XML注册的Java API 11. Java WSDP注册服务器 12. ...

图书目录

Foreword

Preface

1 Introduction to Web Services

1.1 The Role of XML and the Java Platform

1.2 What Is XML?

1.3 Overview of the Java APIs for XML

1.4 JAXP

1.5 JAX-RPC

1.6 JAXM

1.7 JAXR

1.8 Sample Scenario

2 Understanding XML

2.1 Introduction to XML

2.2 XML and Related Specs:Digesting the Alphabet Soup

2.3 Designing an XML Data Structure

3 Getting Started with Tomcat

3.1 Setting Up

3.2 Creating the Getting Started Application

3.3 Building and Deploying the Getting Started Application Using Ant

3.4 Running the Getting Started Application

3.5 Modifying the Application

3.6 Common Problems and Their Solutions

4 Java API for XML Processing

4.1 The JAXP APIs

4.2 An Overview of the Packages

4.3 The Simple API for XML(SAX)APIs

4.4 The Document Object Model(DOM)APIs

4.5 The XML Stylesheet Language for Transformation(XSLT)APIs

4.6 Compiling and Running the Programs

4.7 Where Do You Go from Here?

5 Simple API for XML

5.1 Writing a Simple XML File

5.2 Defining the Root Element

5.3 Echoing an XML File with the SAX Parser

5.4 Adding Additional Event Handlers

5.5 Handling Errors with the Nonvalidating Parser

5.6 Substituting and Inserting Text

5.7 Creating a Document Type Definition(DTD)

5.8 DTD's Effect on the Nonvalidating Parser

5.9 Defining Attributes and Entities in the DTD

5.10 Referencing Binary Entities

5.11 Using the Validating Parser

5.12 Defining Parameter Entities and Conditional Sections

5.13 Parsing the Parameterized DTD

5.14 Handling Lexical Events

5.15 Using the DTDHandler and EntityResolver

6 Document Object Model

6.1 Reading XML Data into a DOM

6.2 Displaying a DOM Hierarchy

6.3 Examining the Structure of a DOM

6.4 Constructing a User-Friendly JTree from a DOM

6.5 Creating and Mainipluating a DOM

6.6 Using Namespaces

7 XML Stylesheet Language for Fransformations

7.1 Introducing XSLT and XPath

7.2 Writing Out a DOM as an XML File

7.3 Generating XML from an Arbitrary Data Structure

7.4 Transforming XML Data with XSLT

7.5 Concatenating XSLT Transformations with a Filter Chain

8 Java API for XML Messaging

8.1 Overview of JAXM

8.2 Running the Samples

8.3 Tutorial

8.4 Code Examples

9 Java API for XML-based RPC

9.1 What is JAX-RPC?

9.2 A Simple Example:Hello World

9.3 The Dynamic Invocation Interface

10 Java API for XML Registries

10.1 Overview of JAXR

10.2 Implementing a JAXR Client

10.3 Using the Registry Browser

11 The Java WSDP Registry Server

11.1 Setting Up the Registry Server

11.2 Using the JAXR Registry Browser with the Registry Server

11.3 Using the Command Line Client Scripts with the Registry Server

11.4 Using the JAXR API to Access the Registry Server

11.5 Using the Indri Tool to Access the Registry Server Database

12 Web Applications

12.1 Web Applications Life Cycle

12.2 Web Applications Archives

12.3 Web Applications Deployment Descriptors

12.4 Deploying Web Applications

12.5 Running Web Applications

12.6 Updating Web Applications

12.7 Internationalizing and Localizing Web Applications

12.8 Accessing Database from Web Applications

13 Java Servlet Technology

13.1 What is a Servlet?

13.2 The Example Servlets

13.3 Servlet Life Cycle

13.4 Sharing Information

13.5 Initializing a Servlet

13.6 Writing Service Methods

13.7 Filtering Requests and Responses

13.8 Invoking Other Web Resources

13.9 Accessing the Web Context

13.10 Maintaining Client State

13.11 Finalizing a Servlet

14 JavaServer Pages Technology

14.1 What is a JSP Page?

14.2 The Example JSP Pages

14.3 The Life Cycle of a JSP Page

14.4 Initializing and Finalizing a JSP Page

14.5 Creating Static Content

14.6 Creating Dynamic Content

14.7 Indluding Content in a JSP Page

14.8 Transferring Content in a JSP Page

14.9 Including an Applet

14.10 Extending the JSP Language

15 JavaBeans Components in JSP Pages

15.1 JavaBeans Components Design Conventions

15.2 Why Use a JavaBeans Component?

15.3 Creating and Using a JavaBeans Components

15.4 Setting JavaBeans Components Properties

15.5 Retrieving JavaBeans Components Properties

16 Custom Tags in JSP Pages

16.1 What is a Custom Tag?

16.2 The Example JSP Pages

16.3 Using Tags

16.4 Defining Tags

16.5 Examples

17 JavaServer Pages Standard Tag Library

17.1 The Example JSP Pages

17.2 Using JSTL

17.3 Expression Language Support

17.4 Core Tags

17.5 XML Tags

17.6 Internationalization Tags

17.7 SQL Tags

18 The xrpcc Tool

18.1 Syntax

18.2 Configuration File

19 HTTP Overview

19.1 HTTP Requests

19.2 HTTP Responses

Appendix Java Encoding Schemes

About the Authors

Index