基本详情信息

书名:Java Web 服务:构建与运行

ISBN:9787564119270

作者:卡林(Martin Kalin) 著

出版社:东南大学出版社

出版日期:2010-1-1

其他信息

定价:48元

装帧:平装

页码:297

开本:16开

版次:1

《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服务:构建与运行》都是你需要的一本理想的简明指南。

作者介绍

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

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 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

S Basics

Symmetric and Asymmetric Encryption/Decryption

How S Provides the Three Security Services

The HttpsURLConnection Class

Securing the RabbitCounter Service

Adding User Authentication

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 De*or

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 S

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 服务 构建与运行_Java Web 服务:构建与运行(影印版)相关推荐

  1. java web 操作word文档_Java Web项目中使用Freemarker生成Word文档

    Web项目中生成Word文档的操作屡见不鲜.基于Java的解决方式也是非常多的,包含使用Jacob.Apache POI.Java2Word.iText等各种方式,事实上在从Office 2003開始 ...

  2. java web应用开发渐进教程_Java Web应用开发渐进教程

    第1章 Java Web概述 1.1 HTTP与Web页 1.1.1 HTTP 1.1.2 静态Web页 1.1.3 动态Web页 1.2 Java服务器端开发相关技术 1.2.1 Servlet技术 ...

  3. java int不将0忽略_Java微服务:蛋糕是骗人的,但您不能忽略它

    java int不将0忽略 构建微服务实际上意味着什么? 通过微服务框架的眼光回答 忽略微服务的趋势已变得不可能. 有些人会说这只是另一个难以忍受的流行语,而另一些人会背诵打破巨石的优势或采取逆势方法 ...

  4. java移动端开发教程视频_Java Web开发-项目部分(中国移动科技综合管理系统)视频教程 - JavaWeb - Java - 私塾在线 - 只做精品视频课程服务...

    第01节课:进行整体课程概览:参看其他项目,总结需要实现的功能:讲解本次项目练习要实现的功能:基本的业务功能介绍 第02节课:页面布局:框架使用:页面上菜单的使用:项目基本的数据字典:构建包结构和划分 ...

  5. java跨系统和跨域_java web服务解决跨域问题

    问题1:浏览器页面跨域请求报错 相信很多程序员都遇到过跨域的问题,如何解决一直是一件很头疼的事情,我就描述下我遇到的问题,及解决办法.什么是跨域,请自行脑补. 需要添加maven依赖,在web.xml ...

  6. java 业务层业务接口层_Java web五层架构

    DAO层: 1.DAO层--[面向表]: 持久层.数据访问层,主要与数据库进行交互 介绍: DAO层只是封装增删改查,比较底层,比较基础的操作,具体到对于某个表.某个实体的增删改查.至于增删查改如何去 ...

  7. java 反正多次重复提交_java web开发时防止刷新后的重复提交

    在java web开发过程中大家经常都会遇到页面刷新后重复提交导致数据库数据重复的情况出现. 那么,如何避免重复提交数据的情况出现呢?如下代码,是在jsp中解决重复提交的一种方式. //此段代码用于防 ...

  8. java中ref是啥意思_java – web.xml中的resource-ref是什么用的?

    您可以通过容器中配置的JNDI名称直接引用应用程序中的资源,但是如果这样做,基本上是将特定于容器的名称连接到代码中.这有一些缺点,例如,如果您以后出于某种原因想更改名称,您需要更新所有应用程序中的所有 ...

  9. java web应用程序设计填空题_Java Web程序设计题库答案

    Java Web Java Web程序设计题库 一.选择题 1.以下文件名后缀中,只有( C )不是静态网页的后缀. A..html B..htm C .JSP D..shtml 2.以下文件名后缀中 ...

最新文章

  1. Ember.js如何与后端服务交互?adapter、store、ember data关系揭秘
  2. Winform中使用用户控件实现带行数和标尺的RichTextBox(附代码下载)
  3. hdu 5340(manacher+枚举)
  4. SQL Server物化视图学习笔记
  5. 【原创】(十二)Linux内存管理之vmap与vmalloc
  6. “最严版权令”披荆两年,正版化努力让中国音乐价值回归
  7. 设计模式UML类图(摘至《HeadFirst设计模式》)
  8. PHP 验证IP的合法性
  9. 5.1 百度寻人 ios解析   和     天气预报解析
  10. PHP中使用CURL(三)
  11. linux下用iperf测试步骤,网络性能测试工具Iperf详细使用图文教程
  12. 北风网66jquery
  13. 用计算机表白教程,抖音短视频vbs表白代码使用教程
  14. 物联网技术体系(一)
  15. C4D快速入门教程——XPresso基本使用
  16. 四位企业家 一种“地头力”
  17. 接入微信SDK 获取用户定位
  18. 神来之笔,阿里最新Spring Security源码手册牵动了多少人的心,拿走不谢
  19. win10调节屏幕亮度
  20. Android之RemoteViews

热门文章

  1. python批量处理应用
  2. excel表格内文字怎么换行_Excel表格技巧—Excel 如何给文字加拼音
  3. 条条大路通云端,华为云应用平台ROMA破解传统政企上云困境
  4. 上传文件到minio文件大小限制
  5. java工作日报管理系统_GitHub - LovebuildJ/book-manager: JavaWeb图书管理系统,简单易用功能强大,可拓展性高,集成主流框架...
  6. tableau入门简介和常用操作
  7. canvas绘制可缩放的室内地图和路径
  8. 苹果mac带引导的macos镜像下载
  9. DICOM3.0中的VR相关介绍
  10. STM32单片机入门学习(小菜鸟一枚,仅为记录个人学习)