首页  软件  游戏  图书  电影  电视剧

请输入您要查询的图书:

 

图书 Java Web服务--构建与运行(影印版)
内容
编辑推荐

这本实例众多的书提供了对Java的API的一个全面介绍,包括针对XML Web服务的JAX-WS和针对RESTful Web服务的JAX-RS。

《Java Web服务:构建与运行》通过提供混合架构概述、完整的工作代码示例以及短而精确的编译、部署和执行应用程序的指示,采用明确实用的方法来处理这些技术。你将学习如何从头开始编写Web服务以及集成现有服务到你的Java应用程序中。

内容推荐

有了这本书,你将:

·理解基于SOAP的和REST样式的服务的区别

·编写、部署和使用基于SOAP的核心Java服务

·理解Web服务描述语言(WSDL)服务契约

·认识SOAP消息的结构

·学习如何交付基于Java的RESTful Web服务和消耗商业RESTful服务

·了解对基于SOAP和基于REST的Web服务的安全要求

·学习如何在各种环境下部署JAX-WS服务

不管是学生还是有经验的程序员,当你需要立即运用这些技术展开工作时,《Java Web服务:构建与运行》都是你需要的一本理想的简明指南。

目录

Preface

1.Java Web Services Quickstart

 What Are Web Services?

What Good Are Web Services?

 A First Example

The Service Endpoint Interface and Service Implementation Bean

A Java Application to Publish the Web Service

Testing the Web Service with a Browser

 A Perl and a Ruby Requester of the Web Service

 The Hidden SOAP

 A Java Requester of the Web Service

 Wire-Level Tracking of HTTP and SOAP Messages

 What's Clear So Far?

Key Features of the First Code Example

 Java's SOAP API

 An Example with Richer Data Types

Publishing the Service and Writing a Client

 Multithreading the Endpoint Publisher

 What's Next?

2.All About WSDLs

 What Good Is a WSDL?

Generating Client-Support Code from a WSDL

The @WebResult Annotation

 WSDL Structure

A Closer Look at WSDL Bindings

Key Features of Document-Style Services

Validating a SOAP Message Against a WSDL's XML Schema

The Wrapped and Unwrapped Document Styles

 Amazon's E-Commerce Web Service

An E-Commerce Client in Wrapped Style

An E-Commerce Client in Unwrapped Style

Tradeoffs Between the RPC and Document Styles

An Asynchronous E-Commerce Client

 The wsgen Utility and JAX-B Artifacts

A JAX-B Example

Marshaling and wsgen Artifacts

An Overview of Java Types and XML Schema Types

Generating a WSDL with the wsgen Utility

 WSDL Wrap-Up

Code First Versus Contract First

A Contract-First Example with wsimport

A Code-First, Contract-Aware Approach

Limitations of the WSDL

 What's Next?

3. SOAP Handling

 SOAP: Hidden or Not?

SOAP 1.1 and SOAP 1.2

SOAP Messaging Architecture

Programming in the JWS Handler Framework

The RabbitCounter Example

Injecting a Header Block into a SOAP Header

Configuring the Client-Side SOAP Handler

Adding a Handler Programmatically on the Client Side

Generating a Fault from a @WebMethod

Adding a Logical Handler for Client Robustness

Adding a Service-Side SOAP Handler

Summary of the Handler Methods

 The RabbitCounter As a SOAP 1.2 Service

 The MessageContext and Transport Headers

An Example to Illustrate Transport-Level Access

 Web Services and Binary Data

Three Options for SOAP Attachments

Using Base64 Encoding for Binary Data

Using MTOM for Binary Data

 What's Next?

4. RESTful Web Services

 What Is REST?

Verbs and Opaque Nouns

 From @WebService to @WebServiceProvider

 A RESTful Version of the Teams Service

The WebServiceProvider Annotation

Language Transparency and RESTful Services

Summary of the RESTful Features

Implementing the Remaining CRUD Operations

Java API for XML Processing

 The Provider and Dispatch Twins

A Provider/Dispatch Example

More on the Dispatch Interface

A Dispatch Client Against a SOAP-based Service

 Implementing RESTful Web Services As HttpServlets

The RabbitCounterServlet

Requests for MIME-Typed Responses

 Java Clients Against Real-World RESTful Services

The Yahoo! News Service

The Amazon E-Commerce Service: REST Style

The RESTful Tumblr Service

 WADLing with Java-Based RESTful Services

 JAX-RS: WADLing Through Jersey

 The Restlet Framework

 What's Next?

5. Web Services Security

 Overview of Web Services Security

 Wire-Level Security

HTTPS Basics

Symmetric and Asymmetric Encryption/Decryption

How HTTPS Provides the Three Security Services

The HttpsURLConnection Class

 Securing the RabbitCounter Service

Adding User Authentication

HTTP BASIC Authentication

 Container-Managed Security for Web Services

Deploying a @WebService Under Tomcat

Securing the @WebService Under Tomcat

Application-Managed Authentication

Container-Managed Authentication and Authorization

Configuring Container-Managed Security Under Tomcat

Using a Digested Password Instead of a Password

A Secured @WebServiceProvider

 WS-Security

Securing a @WebService with WS-Security Under Endpoint

The Prompter and the Verifier

The Secured SOAP Envelope

Summary of the WS-Security Example

 What's Next?

6. JAX-WS in Java Application Servers

 Overview of a Java Application Server

 Deploying @WebServices and @WebServiceProviders

Deploying @WebServiceProviders

 Integrating an Interactive Website and a Web Service

 A @WebService As an EJB

Implementation As a Stateless Session EJB

The Endpoint URL for an EBJ-Based Service

Database Support Through an @Entity

The Persistence Configuration File

The EJB Deployment Descriptor

Servlet and EJB Implementations of Web Services

 Java Web Services and Java Message Service

 WS-Security Under GlassFish

Mutual Challenge with Digital Certificates

MCS Under HTTPS

MCS Under WSIT

The Dramatic SOAP Envelopes

 Benefits of JAS Deployment

 What's Next?

7. Beyond the Flame Wars

 A Very Short History of Web Services

The Service Contract in DCE/RPC

XML-RPC

Standardized SOAP

SOAP-Based Web Services Versus Distributed Objects

SOAP and REST in Harmony

Index

标签
缩略图
书名 Java Web服务--构建与运行(影印版)
副书名
原作名
作者 (美)卡林
译者
编者
绘者
出版社 东南大学出版社
商品编码(ISBN) 9787564119270
开本 16开
页数 297
版次 1
装订 平装
字数 336
出版时间 2010-01-01
首版时间 2010-01-01
印刷时间 2010-01-01
正文语种
读者对象 青年(14-20岁),研究人员,普通成人
适用范围
发行范围 公开发行
发行模式 实体书
首发网站
连载网址
图书大类
图书小类
重量 0.502
CIP核字
中图分类号 TP312
丛书名
印张 20
印次 1
出版地 江苏
234
179
15
整理
媒质 图书
用纸 普通纸
是否注音
影印版本 原版
出版商国别 CN
是否套装 单册
著作权合同登记号 图字10-2009-243号
版权提供者 O'Reilly Media, Inc.
定价
印数 1600
出品方
作品荣誉
主角
配角
其他角色
一句话简介
立意
作品视角
所属系列
文章进度
内容简介
作者简介
目录
文摘
安全警示 适度休息有益身心健康,请勿长期沉迷于阅读小说。
随便看

 

兰台网图书档案馆全面收录古今中外各种图书,详细介绍图书的基本信息及目录、摘要等图书资料。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/11 6:44:11