书悦天下 -Java Web 服务:构建与运行(影印版)
本书资料更新时间:2025-01-19 23:15:37

Java Web 服务:构建与运行(影印版) 下载 pdf 百度网盘 epub 免费 2025 电子书 mobi 在线

Java Web 服务:构建与运行(影印版)精美图片
》Java Web 服务:构建与运行(影印版)电子书籍版权问题 请点击这里查看《

Java Web 服务:构建与运行(影印版)书籍详细信息

  • ISBN:9787564119270
  • 作者:暂无作者
  • 出版社:暂无出版社
  • 出版时间:2010-01
  • 页数:暂无页数
  • 价格:33.10
  • 纸张:胶版纸
  • 装帧:平装
  • 开本:16开
  • 语言:未知
  • 丛书:暂无丛书
  • TAG:暂无
  • 豆瓣评分:暂无豆瓣评分
  • 豆瓣短评:点击查看
  • 豆瓣讨论:点击查看
  • 豆瓣目录:点击查看
  • 读书笔记:点击查看
  • 原文摘录:点击查看
  • 更新时间:2025-01-19 23:15:37

内容简介:

《Java Web 服务:构建与运行(影印版)》提供了对Java的API的一个全面介绍,包括针对XML Web服务的JAX-WS和针对RESTful Web服务的JAX-RS。《Java Web服务:构建与运行》通过提供混合架构概述、完整的工作代码示例以及短而精确的编译、部署和执行应用程序的指示,采用明确实用的方法来处理这些技术。你将学习如何从头开始编写Web服务以及集成现有服务到你的Java应用程序中。有了这《Java Web 服务:构建与运行(影印版)》,你将:

· 理解基于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


作者介绍:

Martin Kalin, 德保罗大学计算机和数字媒体学院教授,拥有西北大学的博士学位。他撰写过关于C语言、C++和Java的书,并参与开发过大型分布式系统中的进程调度和产品配置。


出版社信息:

暂无出版社相关信息,正在全力查找中!


书籍摘录:

The HTTP start line comes first and specifies the request method, in this case thePOST method, which is typical of requests for dynamic resources such as webservices or other web application code (for example, a Java servlet) as opposed torequests for a static HTML page. In this case, a POST rather than a GET requestis needed because only a POST request has a body, which encapsulates the SOAPmessage. Next comes the request URL followed by the HTTP version, in this case1.1, that the requester understands. HTTP 1.1 is the current version.

Next come the HTTP headers, which are key/value pairs in which a colon (:) separates the key from the value. The order of the key/value pairs is arbitrary. The keyAccept occurs three times, with a MIME (Multipurpose Internet Mail Extensions) type/subtype as the value: text/xml, multipart/*, and application/soap. These threepairs signal that the requester is ready to accept an arbitrary XML response, aresponse with arbitrarily many attachments of any type (a SOAP message can havearbitrarily many attachments), and a SOAP document, respectively. The HTTP keySOAPAction is often present in the HTTP header of a web service request and thekey's value may be the empty string, as in this case; but the value also might be thename of the requested web service operation.

Two CRLF (Carriage Return Line Feed) characters, which correspond to two Javan characters, separate the HTTP headers from the HTTP body, which is requiredfor the POST verb but may be empty. In this case, the HTTP body contains theSOAP document, commonly called the SOAP envelope because the outermost ordocument element is named Envelope. In this SOAP envelope, the SOAP body contains a single element whose local name is getTimeAsString, which is the name ofthe web service operation that the client wants to invoke. The SOAP request envelope is simple in this example because the requested operation takes noarguments.



原文赏析:

暂无原文赏析,正在全力查找中!


其它内容:

媒体评论

“《Java Web服务:构建与运行》有很多我发现非常实用的实例,从使用Amazon Associates Web服务到有很好的图解和安全说明以及加密密码的关于安全的一章,还包括使用证书的示例,这部分内容我还没在其他书中见过。”

  ——Greg Ostravich,Denver Java用户组主席



书籍真实打分

  • 故事情节:6分

  • 人物塑造:5分

  • 主题深度:7分

  • 文字风格:8分

  • 语言运用:4分

  • 文笔流畅:7分

  • 思想传递:4分

  • 知识深度:5分

  • 知识广度:7分

  • 实用性:4分

  • 章节划分:6分

  • 结构布局:5分

  • 新颖与独特:5分

  • 情感共鸣:4分

  • 引人入胜:8分

  • 现实相关:4分

  • 沉浸感:4分

  • 事实准确性:3分

  • 文化贡献:5分


网站评分

  • 书籍多样性:7分

  • 书籍信息完全性:8分

  • 网站更新速度:4分

  • 使用便利性:5分

  • 书籍清晰度:8分

  • 书籍格式兼容性:7分

  • 是否包含广告:9分

  • 加载速度:4分

  • 安全性:3分

  • 稳定性:8分

  • 搜索功能:4分

  • 下载便捷性:7分


下载点评

  • 内容齐全(418+)
  • 体验差(166+)
  • 体验还行(342+)
  • 值得购买(131+)
  • 五星好评(322+)
  • 书籍多(97+)
  • 傻瓜式服务(428+)
  • 少量广告(505+)
  • 排版满分(364+)
  • 速度快(318+)
  • 下载速度快(322+)

下载评价

  • 网友 通***蕊: ( 2024-12-28 16:45:11 )

    五颗星、五颗星,大赞还觉得不错!~~

  • 网友 晏***媛: ( 2025-01-03 03:23:26 )

    够人性化!

  • 网友 屠***好: ( 2025-01-05 09:36:53 )

    还行吧。

  • 网友 扈***洁: ( 2024-12-23 06:00:02 )

    还不错啊,挺好

  • 网友 戈***玉: ( 2025-01-10 18:18:37 )

    特别棒

  • 网友 濮***彤: ( 2024-12-22 21:00:22 )

    好棒啊!图书很全

  • 网友 丁***菱: ( 2025-01-15 09:47:04 )

    好好好好好好好好好好好好好好好好好好好好好好好好好

  • 网友 冯***卉: ( 2024-12-31 11:41:49 )

    听说内置一千多万的书籍,不知道真假的

  • 网友 仰***兰: ( 2024-12-26 02:25:16 )

    喜欢!很棒!!超级推荐!

  • 网友 訾***雰: ( 2025-01-18 23:57:39 )

    下载速度很快,我选择的是epub格式

  • 网友 习***蓉: ( 2024-12-30 03:59:31 )

    品相完美

  • 网友 温***欣: ( 2025-01-12 12:13:48 )

    可以可以可以


随机推荐